Hello everyone.
I have a small doubt I hope you can clear up. In C++, whenever I needed to declare a variable local to the class instance, I would just type the variable's name inside the class definition. However, when I do the same in Python, the variable acquires static behavior. I know (now) that I can do the same thing I did by simply referencing self.name_of_variable in the __init__() function, but I was wondering if there was another way to do the same thing I did on C++ (in other words, by not using the __init__() function).