Python methods are very similar to functions. In fact, they are functions that belong to an object!
One thing that is different about functions and methods is how they are called. Functions are built into Python and so you call them by themselves, and just pass in the required parameters.
Because methods belong to objects, you need to state which object they belong to. So you call them by using a ‘.’ after the name of the object and then the method name: my_object.count() instead of count(stuff)