0
Why won’t this work
I’m quite new to python and I can figure out why this program won’t work. https://code.sololearn.com/ci5NcvoF6pEn/?ref=app
1 Resposta
+ 2
Hello FlamingSquid,
I believe what you are trying to do is:
x = input("Choose Y or N:")
if x=="Y" or x == "y":
print(1)
elif x=="N" or x == "n":
print(2)
else:
print("Error")