1

I do not know the difference between Method and function in Python Language, for example, the difference between len() and string.upper(), I mean len and.upper I would be delighted if someone could help me in this case.

Fateme
  • 19
  • 1

1 Answers1

0

Methods are an entity pertaining to the world of object-oriented programming and are defined on objects, functions are independent of objects.

See What's the difference between a method and a function?

Adam
  • 62
  • 6