The bigger number · El número mayor
The bigger number
a is 8 and b is 15. Store the bigger of the two in biggest. Do not use max.
A branch can set a variable, not only print. Give biggest a value on both paths, or one path leaves it undefined and Python says NameError.
El número mayor
a es 8 y b es 15. Almacena el mayor de los dos en biggest. No uses max.
Una rama puede asignar un valor a una variable, no solo imprimir. Asigna un valor a biggest en ambos caminos, o bien una de las rutas la dejará sin definir y Python arrojará un NameError.
a is 8 and · y b is 15. Store the bigger of the two in biggest. Do not use max. · a es 8 y b es 15. Almacena el mayor de los dos en biggest. No uses max.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.