theritically, i want to know the differences
A function is a block of code that runs when it's called. A method is a function that belongs to a specific object.
Didn't get the answer. Contact people of Talent-Python directly by clicking here