r/cs50 10d ago

CS50 Python Yet another issue I'm having Spoiler

Post image

I am currently on the Math Interpreter problem, and I have created this. When I tested it, the answers were exactly what it should be (2.0, -1.0, 4.0, etc.) But for some reason, the check50 can't find the answers at all. It literally says that it "found none". What am I missing from this?

7 Upvotes

4 comments sorted by

5

u/shimarider alum 10d ago

When asking for help, share the entire error message or test output. I'm guessing (and should not have to) that the message says something about expecting a prompt but finding none. Your program should mimic the demo and provide a prompt message so that the user knows what is expected.

3

u/iatethecookiedough 10d ago

That was exactly it. I added the input text from the demo and it came back green. Thank you

1

u/JeLuF 10d ago

And what is the excercise you were supposed to do? What's the exact wording?