PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import re
prices = input()
space = " "
prices_split = re.split(space, prices)
all_float = []
for i in range (0, len(prices_split)):
all_float.append(round(float(prices_split[i]) * 1.1))
terminal = True
for i in range (0, len(all_float)):
if all_float[i] > 20:
terminal = False
break
if terminal == False:
print("Back to the store")
else:
print("On to the terminal")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run