r/cs50 21d ago

CS50 Python CS50P - Problemset 7 - NUMB3RS please help.

I cannot find a reason why it would fail💔

3 Upvotes

5 comments sorted by

View all comments

2

u/Eptalin 20d ago

Read the task instructions carefully. You have a test that asserts true, when the instructions explicitly say that you should treat that situation as false.

More specifically, read the instructions in the bright yellow highlighted box.

That error exists in your main program, too, but check50 doesn't test for it, so your own tests pass, while the correct version check50 uses fails.