"Unerwartetes EOF beim Parsen" nach einer "try" -Anweisung
Ich bin wirklich,Ja wirklic neu in Python und machte ein kleines Testprogramm.
Hier ist mein Code:
def start ():
print ("This is where text would be")
prompt_sta ()
def prompt_sta ():
prompt_0=raw_input("Input a Command: ")
try:
if prompt_0 == 'Okay':
next_screen ()
else:
print ('Type Okay.')
prompt_sta ()
wenn ich versuche, es auszuführen, erhalte ich die Fehlermeldung "Unerwartetes EOF beim Parsen".