Special Methods
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
- medium
- Pro
You've written a Money class and want instances to print nicely, compare with double equals, add together with the plus sign, and work with the len function where it makes sense. Explain Python's special methods, sometimes called dunder methods, and which ones you'd implement.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.