Skip to content

Commit d0f3765

Browse files
committed
Lv0 Python: 181837
1 parent 6a7939c commit d0f3765

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def solution(order):
2+
answer = 0
3+
for coffe in order:
4+
if "cafelatte" in coffe:
5+
answer += 5000
6+
elif "americano" in coffe or "anything" in coffe:
7+
answer += 4500
8+
return answer

0 commit comments

Comments
 (0)