Skip to content

Commit 1a7d405

Browse files
authored
Update 1.py
1 parent b3118ce commit 1a7d405

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

3/1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
count = 0
33

44
# 큰 단위의 화폐부터 차례대로 확인하기
5-
list = [500, 100, 50, 10]
5+
coin_types = [500, 100, 50, 10]
66

7-
for coin in list:
7+
for coin in coin_types:
88
count += n // coin # 해당 화폐로 거슬러 줄 수 있는 동전의 개수 세기
99
n %= coin
1010

0 commit comments

Comments
 (0)