What is method?
In programming language, method is something that you do to an object.
For example, the object is ‘door‘ and you want to apply an action ‘open‘.
In python you can write as: door.open().
door = object
open = method
( ) = argument
Argument is the place for parameters that you apply to the method.
For example, you want to open your door half only or full open then changing the color painting to blue or red.
The syntax will be:
In python, you can use built-in methods or create it manually.
Let me explain more details.