Kodewick
Start learning →
Starter←→0 / 100

Egg boxes

#079StarterNumbers2 min

A farm packs its eggs six to a box. Write full_boxes(eggs) to return how many boxes get filled; leftover eggs that cannot fill a box do not count.

Examples
full_boxes(20)→3
full_boxes(6)→1
main.py
def full_boxes(eggs):
    # your code here: how many whole 6s
    pass
Ctrl + Enter runs too
Result

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