Skip to content · ⁨Lompat ke konten⁩

Finish the function · ⁨Selesaikan definisi fungsi⁩

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.

Bahasa Indonesia

Selesaikan fungsi

Baris def sudah ditulis. Tambahkan satu baris di dalamnya yang mengembalikan a + b.

a dan b mewakili apa pun yang dilemparkan pemanggil. Di dalam fungsi Anda menggunakannya sebagai variabel biasa — isinya hanyalah kode normal, diindentasi di bawah def.

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP