Scientific Computing with Python Projects - Budget App

Tell us what’s happening:

Tell us what’s happening:
Hello!

When I run the tests on my Budget App, the final test (testing the create_spend_chart method) fails every time. I think it’s just a formatting issue, but I can’t figure out what is wrong with the format- to my eyes at least, it looks the same as the expected output.

Here is my code:

Your code so far


Your browser information:

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

Challenge Information:

Scientific Computing with Python Projects - Budget App

press F12 to see the full output of the tests in the console
I see this:

File "/home/pyodide/budget.py", line 81, in create_spend_chart
   balance = categories.balanceSumForAllCategory
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 AttributeError: 'list' object has no attribute 'balanceSumForAllCategory'

it’s more than a format issue

Hi
I solved my problem, and thank’s the help!