for 문
range
for 변수 in range(): 코드
예제
리스트 for 문
for 변수 in 리스트: 코드
예제
다중 반복문 (중첩 반복문)
예제
while 문
while 문은 조건이 만족하는 동안 계속 코드를 반복합니다.
while 조건: 코드
예시