We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7939c commit d0f3765Copy full SHA for d0f3765
data/py/lv0/Lv0_0000_프로그래머스_커피_심부름_구현_성철.py
@@ -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