lundi 13 août 2018

If statement is wrong, but it still execute. Why? [duplicate]

This question already has an answer here:

Basically, I ask user to type either C or T for input, and if user type C it will then do what's in the "if" section, and if user type t it should do whatever its in the elif statement. But in my case, it always go to "if". What did I do wrong?

Thank you so much

enter image description here

Aucun commentaire:

Enregistrer un commentaire