+ 1
Define Method and function .. and what's the difference between them
2 Answers
+ 2
In Python all it's object, and method is a method of class from which the object follow. Function can work different class object.
+ 2
Function:
A block of code that does stuff, that can optionally return a potentially useful value.
Method:
A function in a class.