>A Byte of Python

Object Methods

We have already discussed that classes/objects can have methods which are just like functions except for the usage of the self variable. Even if your method does not take any parameters, you still have to have the self variable.