73. 클로저 카운터와 변수 범위 함정
다음 Python 프로그램에서 add는 바깥 함수의 total과 모듈의 count를 함께 바꾼다. 실행 결과가 "6 5 4", "[20, 20, 20] 4" 두 줄이 되도록 빈칸 ①, ②에 들어갈 키워드를 쓰시오.
1count = 0234def make_counter(step):5total = 067def add():8( ① ) total9( ② ) count10total += step11count += 112return total1314return add151617def reset():18count = 100192021c1 = make_counter(2)22c2 = make_counter(5)23c1()24c1()25print(c1(), c2(), count)26reset()27fs = [lambda: i * 10 for i in range(3)]28print([f() for f in fs], count)