Can you please help!

Hi fellow programmers!

I’m new at this and have a quick question.
Why isn’t the option with the 9 rating printing “Outstanding”?
It’s the first print.

Thank you very much! :slightly_smiling_face:
Josh!

Screenshot 2020-06-12 at 12.00.18 PM|690x459

you see which condition is being used instead, have you further inspected the condition? Think about why the elif condition might be true.

Hi Stetim94,

The elif should only be true if it’s 6 or 7 or 8.

I printed 9.

I don’t know why the elif (6 or 7 or 8) would be true.
What am I missing?

Thank you!
Josh

well, you could test each part of your condition separately to see what the problem might be:

rating = 9
if (rating == 6): print(True)
if (7): print(True)
if (8): print(True)