What does this error message mean?


I am halfway through writing my code, but before I kept on getting error messages. I am trying to understand this one but I can't. What does it mean? (Ignore my code - I edited it after I got the error message.)

Replace this line with your code.


It for sure means there is a problem with the code.

if s == "yes" or "Y"

is missing a colon to start the block, and is always going to be true since 'Y' evaluates to True (a non-empty string state).


Yes, I saw that as well - oops:hushed:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.