print("== 1단계(기본 함수, 매개변수 없음) ==")
def print_1_to_10():
i = 1
while i <= 10:
print(i)
i += 1
print_1_to_10()
print("== 2단계(매개변수 1개) ==")
def print_1_to_m(m):
i = 1
while i <= m:
print(i)
i += 1
print_1_to_m(4)
print("== 3단계(매개변수 2개) ==")
def print_n_to_m(n, m):
i = n
while i <= m:
print(i)
i += 1
print_n_to_m(5, 8)