def outer_func(): print('call outer_func function') # 중첩 함수의 정의 def inner_func(): return 'call inner_func function' # 중첩 함수 호출 print(inner_func())