Skip to content · ⁨본문 바로가기⁩

Finish the function · ⁨함수 완성하기⁩

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된 정상적인 코드일 뿐입니다.

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP