Arithmetic Formatter - "return arranged_problems"


I’ve just started working on this project and, having no previous background in Python, I’m finding it really difficult.
I see that the project comes with a return arranged_problems statement at the end of the function. The solution I was working out actually prints the result rather than assigning it to a variable.

Am I wasting my time and will the tests come back “wrong” this way or is the arranged_problems variable only a suggestion?

yes, you need to return the value. The tests test the output of the function, not what’s printed to the console.

1 Like

Ouch! That means 99% of what I’ve done so far is wrong, but at least I know what direction to look for.

Thank you