Kodewick
Start learning →
Starter←→0 / 100

Split the bill

#077StarterNumbers2 min

Four friends share a hotpot dinner that costs total 156. Everyone pays the same. Work out each share and print it.

Should show
39.0
main.py
total = 156
people = 4

# your code here: show what each person pays
Ctrl + Enter runs too
Result

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