The bigger one · Le plus grand
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Cette page nécessite un navigateur récent (avec support SharedArrayBuffer). Veuillez mettre à jour Chrome, Edge, Firefox ou Safari vers la dernière version.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Celui-ci repose sur une leçon que vous n'avez pas encore terminée. Terminez d'abord cette leçon :
Python Basics · Bases Python · Functions · Fonctions →
English
The bigger one
Return the larger of the two. An if can compare them: if a > b, return a, otherwise return b.
Français
Le plus grand
Retournez le plus grand des deux. Un if peut les comparer : si a > b, retournez a, sinon retournez b.
Complete bigger(a, b): return the larger of a and · et b. · Complétez bigger(a, b) : retournez le plus grand entre a et b.
Click Run to see the output here. · Cliquez sur Exécuter pour voir le résultat ici.