theritically, i want to know the differences
A function is independent. It does not belong to any class. A method is a function inside a class. It belongs to an object.
Didn't get the answer. Contact people of Talent-Python directly by clicking here