Problem scenario
You have seen Python functions defined using the self keyword. You want to test it out. How do you do this?
Solution
First of all, self is NOT a keyword in Python. Yes, you should probably use the word “self” when it is invoked. This is a well-accepted convention. It may be an unwritten rule. But you do not need to use the word “self”.
…