while True: continuar = input("Deseja continuar? ") if continuar != 'S' and continuar != 's': break print("Encerrou") #https://pt.stackoverflow.com/q/421327/101
Standard input is empty
Deseja continuar?
Traceback (most recent call last): File "./prog.py", line 2, in <module> EOFError: EOF when reading a line