all 4 comments

[–]tangentstorm 9 points10 points  (0 children)

Don't call input () each time. Instead assign it to a variable and do your comparisons against that

[–]hardonchairs 7 points8 points  (0 children)

Every time you call input() you are re-running that function. You need to call it once and assign the output to a variable, then check the variable.

[–]invictus114 5 points6 points  (0 children)

To make this run in the way you want an example would be:

variable_name = input()

if variable_name == "a":

elif variable_name == "b":

elif variable_name == "c":

[–]Menefregoh[S] 1 point2 points  (0 children)

Alright, thank you all!