I've been trying to get this to work but cant any suggestions. what it does Is it only goes to the first if statement even if i type in something entirely different than what it accepts. and clue how to solve this problem
while True:
admensus = input("option: ")
if int(1) == admensus or "add" == admensus:
add()
elif int(2) == admensus or "no" == admensus:
menu()
Aucun commentaire:
Enregistrer un commentaire