- 2

Python if statement not working

If can’t get it to work, it keeps coming up with errors of all kinds Help? (Python 3.6)

31st Mar 2018, 8:57 PM
bwac
bwac - avatar
4 RĂ©ponses
+ 5
Show/link your code please
31st Mar 2018, 9:00 PM
TurtleShell
TurtleShell - avatar
+ 2
Or if ans in ['c', 'C']:
31st Mar 2018, 10:49 PM
TurtleShell
TurtleShell - avatar
+ 1
Thanks! I don’t have a But sorry I don’t have a code because the if statement doesn’t work But I will tell you what I want to do I want it to ask a question like: what is the third letter in the althabet And if that say c it will say: you got it right Dose that make sense?
31st Mar 2018, 10:40 PM
bwac
bwac - avatar
0
Thanks I will see if this works when I get home to my laptop
31st Mar 2018, 11:03 PM
bwac
bwac - avatar