+ 2
[SOLVED] Python Problem
I have tried to play with the string and ifs but I have got a problem Whatever I type it print the only the first thing https://code.sololearn.com/cXh69JqEdKOL/?ref=app How could I use it in better way?
2 Respostas
+ 7
Try putting quotations inside the braces of the input.
x = input(" ")
Also, the if statement should be like
if x == "Hey" or x == "Yo":
+ 2
CipherFox Thanks for help