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 Answer
+ 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")