Re: [Tutor] (no subject)
http://point.gendelmangroup.com/Sylvia_DeAguiar Sylvia Deaguiar Sent from my iPhone ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
[Tutor] Trouble executing an if statement with a string from an input
The code runs fine on python shell (from run module) but when I try to execute the program from its file, it always prints out c, regardless of the input. What is wrong? Thanks for any help :) x = input("a, b, or c:") if x == "a": print ("a") elif x == "b": print ("b") else: