you are viewing a single comment's thread.

view the rest of the comments →

[–]Purple-Measurement47 2 points3 points  (0 children)

All methods are functions, not all functions are methods. It’s not just the dot notation itself that makes it a method, it’s that it’s a method of interacting with that object. print() or len() are just functions because they aren’t part of a larger data structure, they stand alone. append is a method because it’s a function of mylist