Scientific Computing with Python Projects - Budget App

When the budget object is printed it should display:

When I read this, I didn’t have any idea how to solve, so I started to read old questions about this project and found out, that I can do it by adding method str. I would like to know if I missed something from the course that I didnt figure it out by myself.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36

Challenge: Scientific Computing with Python Projects - Budget App

Link to the challenge: