theritically, i want to know the differences
A method is a function that is defined inside a class and works with objects of that class. A function is a block of reusable code defined using def and can be called independently.
Didn't get the answer. Contact people of Talent-Python directly by clicking here