↻
75번부터 같은 회차 100문항을 이어서 풉니다.
75/ 100문항 자료 불러오는 중
정처LAB 자체 제작 · 내용 검수 완료프로그래밍 언어 활용 · Python 제너레이터 · 정처LAB 정보처리기사 필기 자체 제작 3회 · 75번
다음 Python 프로그램의 출력은?
def accumulator(): total = 0 while True: value = yield total if value is None: return total += value g = accumulator() a = next(g) b = g.send(3) c = g.send(4) print(a, b, c)