fork download
  1. while True:
  2. continuar = input("Deseja continuar? ")
  3. if continuar != 'S' and continuar != 's':
  4. break
  5. print("Encerrou")
  6.  
  7. #https://pt.stackoverflow.com/q/421327/101
Runtime error #stdin #stdout #stderr 0.13s 23724KB
stdin
Standard input is empty
stdout
Deseja continuar? 
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
EOFError: EOF when reading a line