The bigger one · El mayor
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · Esta página necesita un navegador reciente (con soporte para SharedArrayBuffer). Por favor, actualiza Chrome, Edge, Firefox o Safari a la última versión.
This one builds on a lesson you haven't finished yet. Do that lesson first: · Este ejercicio se basa en una lección que no has terminado. Haz esa lección primero:
Python Basics · Introducción a Python · Functions · Funciones →
English
The bigger one
Return the larger of the two. An if can compare them: if a > b, return a, otherwise return b.
Español
El más grande
Devuelve el mayor de los dos. Un if puede compararlos: si a > b, devuelve a; de lo contrario, devuelve b.
Complete bigger(a, b): return the larger of a and · y b. · Completa bigger(a, b): devuelve el valor mayor entre a y b.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.