Build a Budget App Project last Test

The project
Passing the last test was| |
Passing the last test was|….|
What helped me debug was replacing every space with a placeholder like “.”
If you are clever, you use a variable to hold the placeholder.
Then the return value and expected value are easier to diff with an open dev console.

Proposal
Add a hint like this one to the project description, or require the whitespace character inside the bar graph to be a parameter or a character like underscore or dot.

Most Python projects are fun and teach well; this one included — until the debugging of the last test

I think this is related to this issue:
https://github.com/freeCodeCamp/freeCodeCamp/issues/53984

Which was resolved here:
https://github.com/freeCodeCamp/freeCodeCamp/pull/54905

(not live yet)

1 Like