what is the difference between methods and functions in Python

theritically, i want to know the differences

  • Rama
  • 15 Aug
  • 1500 Views
  • 37 Answers
Your Answer

In Python, the primary difference is that functions can be called independently by name, while methods are tied to objects and called on classes or instances

Python

Didn't get the answer.
Contact people of Talent-Python directly by clicking here