'''
반복문 for
for 변수 in 시퀀스:
반복할 명령
'''
for i in [1, 2, 3]:
print(i)
for j in 'banana':
print(j)
for a in ('c', 5, [1,2]):
print('!')
print('@')
print('----문제----')
# 🍕 문제: 오늘의 저녁 메뉴 추천!
# 1. 저녁 메뉴 후보들을 리스트나 튜플로 menu에 저장하세요. (3개 이상)
# 2. `for`문을 사용하여 메뉴들을 한 줄씩 출력해 보세요.
# for문의 변수 이름은 item
menu = ['김밥', '라면', '떡볶이', '돈까스']
for item in menu:
print(item)
To embed this project on your website, copy the following code and paste it into your website's HTML: