Python 3. Input in if else statements

Two issues appear when I see that:

You use the is operator, which checks if two variables refer to the same object. x is y is only true if one was defined as equal to the other. Instead, you should use the == operator to check if two string are equal. Also, you type write, not writes, whereas your program is checking for writes. Entering the correct string and using the == operator instead of is should fix your problems.

Leave a Comment