fork download
  1. while True:
  2. action = input()
  3. if action == 'stop':
  4. print('1')
  5. break
  6. else:
  7. print('Looks like you have amnesia.Try again')
Runtime error #stdin #stdout #stderr 0.01s 9992KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
EOFError: EOF when reading a line