Skip to content · ⁨Saltar al contenido⁩

Finish the function · ⁨Termina la función⁩

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.

Español

Completa la función

La línea def ya está escrita. Añade dentro de ella la única línea que devuelve a + b.

a y b representan cualquier valor que el llamador pase. Dentro de la función los usas como variables ordinarias: el cuerpo es simplemente código normal, indentado debajo de def.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP