Write one yourself · Escribe uno tú mismo
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.
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.
Write biggest(a, b) that gives back the larger of the two numbers. Do not use max. · Escribe biggest(a, b) que devuelva el mayor de los dos números. No uses max.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.