theritically, i want to know the differences
a function is an independent, standalone block of code, while a method is a function that is bound to an object and defined within a class
Didn't get the answer. Contact people of Talent-Python directly by clicking here