Glossary: Python Beyond the Basics
self
The first parameter of a method: the object the method is working on. Python passes it in for you when you call `card.top_up(50)`.
Glossary: Python Beyond the Basics
The first parameter of a method: the object the method is working on. Python passes it in for you when you call `card.top_up(50)`.