Skip to content · ⁨Saltar al contenido⁩

Write one yourself · ⁨Escribe uno tú mismo⁩

English

Write one yourself

Write biggest(a, b) that gives back the larger of the two numbers. Do not use max.

Now all three parts are yours: the def line with its two names, an if/else inside it, and a return on each path. Every path must return something.

Español

Escribe uno tú mismo

Escribe biggest(a, b) que devuelva el mayor de los dos números. No uses max.

Ahora las tres partes son tuyas: la línea def con sus dos nombres, un if/else dentro de ella, y un return en cada camino. Cada camino debe devolver algo.

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

IGCSE, A-Level & AP