"EOF inesperado ao analisar" após uma declaração "try"
Estou realmente,realmente novo no Python e estava fazendo um pequeno programa de teste.
Aqui está o meu código:
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 ()
quando tento executá-lo, recebo o erro "EOF inesperado ao analisar".