PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
snacks = input().split()
pts = 0
for i in snacks:
if i == "Lettuce":
pts = pts + 5
if i == "Carrot":
pts = pts + 4
if i == "Mango":
pts = pts + 9
if i == "Cheeseburger":
pts = pts + 0
else:
pts = pts + 0
if pts >= 10:
print("Come on Down!")
else:
print("Time to wait")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run