I've been trying to write basic settings for my code and for some reason my if statement isn't working. I am pretty sure that my mistake is really stupid, but I can't find it.
elif menu == 3:
set1 = 3
print("1.Restart the program automatically")
print("2.Restart the program manually")
while set1 != 1 or set1 != 2:
set1 == int(input("Please enter your choice:"))
if set1 == 1:
print("Set 1 works")
elif set1 == 2:
print("Set 2 works")
else:
print("Smash the monitor")
print("Goes to the main body")
Aucun commentaire:
Enregistrer un commentaire