Tip Calculator

Step 3: Split it

Ask how many people pay, add the tip to the bill and divide by the number of people.

people = int(input("People: "))
each = (bill + tip) / people
print("Each pays", round(each, 2))
Need a hint?

The brackets matter: first add, then divide.

Others asked

Done. Next step