theritically, i want to know the differences
A function is an independent block of code, while a method is a function that belongs to a class and works with its objects.
Didn't get the answer. Contact people of Talent-Python directly by clicking here