예졔)
def callback_func(func): for i in range(5): func(i) def print_hello(num): print('hello', num) callback_func(print_hello)
참고문헌 https://coding-yesung.tistory.com/20