↻
75번부터 같은 회차 100문항을 이어서 풉니다.
75/ 100문항 자료 불러오는 중
정처LAB 자체 제작 · 내용 검수 완료프로그래밍 언어 활용 · 정처LAB 정보처리기사 필기 자체 제작 2회 · 75번
다음 Python 프로그램의 출력은?
def make(n):
total = n
def add(x):
nonlocal total
total += x
return total
return add
f = make(2)
print(f(3), f(-1), f(4))