Classes, the Init Method and Self
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- easy
A newcomer to Python asks what the init method and the self parameter are for in a class. Explain how a class, its instances and these two pieces fit together, using a bank account as an example.
Talk this problem through with an AI coach
Sign in with Google to start a free voice session — no credit card needed.