# 순차문

# 조건문

# 반복문
num = 1

# while num <= 10:
#     print(num)
#     num = num+1     # num += 1

# for, for-each
# 리스트
food = ['a','b','c','d']
foods = [food,"짬뽕","우동",'김밥']
print(foods)
for imis in foods: # ex) for-each
    print(imis)

for i in range(0,4,1): # 0~3까지 1씩증가한다
    print(foods[i])
    a = foods[0]
    print(a[i])
    print(foods[0][i])