The bigger number · Le plus grand nombre
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.
Le plus grand nombre
a vaut 8 et b vaut 15. Stocker le plus grand des deux dans biggest. Ne pas utiliser max.
Une branche peut assigner une variable, pas seulement afficher. Donner à biggest une valeur sur les deux chemins, sinon un chemin la laissera indéfinie et Python signalera une erreur NameError.
a is 8 and · et b is 15. Store the bigger of the two in biggest. Do not use max. · a vaut 8 et b vaut 15. Stocker le plus grand des deux dans biggest. Ne pas utiliser max.
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.