Correct looping/breaking in number of missions dialogue

This commit is contained in:
Bernard Cooke
2022-01-14 08:47:21 +00:00
parent f29fa1792c
commit 62af4c0ab2

View File

@@ -51,14 +51,12 @@ def commence_non_kamikazi_attack() -> None:
print("MISSIONS, NOT MILES...")
print("150 MISSIONS IS HIGH EVEN FOR OLD-TIMERS")
nmissions = int(input("NOW THEN, HOW MANY MISSIONS HAVE YOU FLOWN? "))
break
break
except ValueError:
# In the BASIC implementation this
# wasn't accounted for
print("TRY AGAIN...")
continue
else:
break
if nmissions >= 100:
print("THAT'S PUSHING THE ODDS!")