# print("대기번호 : 1")
# print("대기번호 : 2")
# print("대기번호 : 3")
# print("대기번호 : 4")
for waiting_no in range(5): #[0,1,2,3,4]
print("대기번호 : {0}".format(waiting_no))
starbucks = ["아이언맨", "토르", "아이엠 그루트"]
for customer in starbucks:
print("{0}, 커피가 준비되었습니다.".format(customer))
반응형
'프로그래밍 > Python' 카테고리의 다른 글
20. continue/ break (0) | 2023.05.24 |
---|---|
19. while(반복문) (0) | 2023.05.24 |
17. if(조건문) (0) | 2023.05.22 |
16. shuffle , sample (2) | 2023.05.22 |
15. 자료구조의 변경 (2) | 2023.05.22 |