This is my budget app project: https://replit.com/@AndreNunes8/boilerplate-budget-app-2#budget.py
I run it on command prompt and it gives me the correct output:
But I need validation from Replit’s testing program.
Replit does THIS (I add it to the text editor to get the output):
food=Category(“Food”)
entertainment=Category(“Entertainment”)
business=Category(“Business”)
food.deposit(900, “deposit”)
entertainment.deposit(900, “deposit”)
business.deposit(900, “deposit”)
food.withdraw(105.55)
entertainment.withdraw(33.40)
business.withdraw(10.99)
print(create_spend_chart([business, food, entertainment]))
And it returns a failure as if a lot of 'o’s were missing from the output.
Could you please copy my code from Replit and paste it in your text editor, then add THOSE lines (food=Category(“Food”),etc.) and try to run it?
And do you get the same output as I do from command prompt?
(Sorry if my code is unnecessarily long, I’m just glad it works )
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36
Challenge: Budget App
Link to the challenge: