while True: action = input() if action == 'stop': print('1') break else: print('Looks like you have amnesia.Try again')
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 2, in <module> EOFError: EOF when reading a line