Q109. 실행 결과와 같은 결과가 되도록 밑줄 친 부분을 채워 프로그램을 완성하시오. (500점)
animals = ["사자", "호랑이", "사슴", "곰"]
i = ______
while i < _____________ :
print(animals[i])
i = i + 1
- 난이도(1~10) : 5
- 힌트 : 없음
- - 실행 결과
-
사자
호랑이
사슴
곰
animals = ["사자", "호랑이", "사슴", "곰"]
i = 0
while i < len(animals) :
print(animals[i])
i = i + 1