Help with Arithmetic Formatter Project

Hi, I’m a total beginner trying to learn Python and this is my first project, so I apology in advance if my coding is bad.

I’ve been trying the first Arithmetic Formatter project and after various tries, I was able to make the visual part but it seems that I got the errors on the condition parts, which I can’t figure out how to cancel the loop.

This is the link:

I’d be glad if anyone could help me to solve the errors and if it’s possible, translate what are the errors saying. Thanks.

You have to return the arranged problems, not print() them. Same goes for the error messages :wink:
As of now, by printing them, the function returns None and if you look at the red error messages, they all complain how “None” is different from whatever the expected output is.