Finish the function · 함수 완성하기
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · 이 페이지는 최신 브라우저(SharedArrayBuffer 지원)가 필요합니다. Chrome, Edge, Firefox 또는 Safari를 최신 버전으로 업데이트해 주세요.
This one builds on a lesson you haven't finished yet. Do that lesson first: · 이 과제는 아직 완료하지 않은 수업에 기반합니다. 먼저 해당 수업을 완료하세요:
Python Basics · Functions →
English
Finish the function
The def line is written. Add the one line inside it that gives back a + b.
a and b stand for whatever the caller passes in. Inside the function you use them as ordinary variables — the body is just normal code, indented under the def.
한국어
함수 완성하기
def 줄이 작성되어 있습니다. a + b를 반환하는 한 줄을 내부에 추가하세요.
a와 b은 호출자가 전달하는 것을 의미합니다. 함수 내부에서는 일반 변수처럼 사용합니다 — 본체는 def 아래에suitably indented된 정상적인 코드일 뿐입니다.
The def line is written. Add the one line inside it that gives back a + b. · def 줄이 작성되어 있습니다. a + b를 반환하는 한 줄을 내부에 추가하세요.
Click Run to see the output here. · 출력을 보려면 '실행'을 클릭하세요.