12/19 whats wrong with my code


#1

phrase = "A bird in the hand..."
for char in phrase:
if char == 'A' or char == 'a'
else:

print char

Oops, try again. Did you delete the string "phrase"? You can click the red Reset button to start over
.
File "python", line 3
if char == 'A' or char == 'a'
^
SyntaxError: invalid syntax


#2

I had the same problem you have, decided to reset and realized the mistake was the same you have. in if char == 'A' or char == 'a' you have a syntax error.
try adding colon to the end of the if sentence if char == 'A' or char == 'a': that worked for me, hopefully will work for you