Kodewick
Start learning →
Starter←→0 / 100

The bigger one

#005StarterConditions2 min

A height-comparing game. Write bigger(a, b) to return the larger of the two; if they are equal, return that number. (Use if yourself, not max.)

Examples
bigger(3, 7)→7
bigger(10, 2)→10
main.py
def bigger(a, b):
    if a > b:
        # your code here: a is larger, return a
        pass
    return b
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.