PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# https://www.sololearn.com/Discuss/2956426/just-wanted-to-show-my-funny-appbreaking-code
action = input()
start = 100
while start>0 :
if action=="hit":
start +=10
elif action=="miss":
start -=20
print(action, start)
try:
action = input()
except EOFError:
break
'''
Keep learning & happy coding :D
'''
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run