A method in Python is a function that is associated with an object, like a list, string, or class. It performs an operation that involves the object, for example string methods can change the case of the string, replace parts of the string, split the string etc. Each type of object has its own specific methods.
Methods are called using the dot notation after the object. For instance, if you have a list called “my_list”, you can use the append method to add an item to the end of the list like this: “my_list.append(‘new item’)”.
Here, ‘my\_list’ is the object, ‘append’ is the method, and ‘new item’ is the argument being passed into the method.