Alles links von dem, was ist, gezeigt richtig, weil ich es vorher getestet ...If-Anweisung funktioniert nicht für raw_input prompt
egal, was ich gesagt, es immer noch sagt: „Das ist nicht eine Wahl“, das ist mein Aussage sonst
1 = Auswahl1
2 = choice2
3 = auswahl3
while True:
choice = raw_input("->")
if choice == 1:
dochoice1
break
elif choice == 2:
dochoice2
break
elif choice == 3:
dochoice3
break
else:
print "That Is Not A Choice"
continue
also egal, was ich gesagt, sagt er noch: „das ist n ot eine Wahl "das ist meine else Aussage ... – DuckyQuack
@DuckyQuack' if' nicht wiederholt, daher ist es kein Loop-Konstrukt –