229k views
0 votes
I need this on repl.it (in python)

I would like the code plz

Task
Ask for the total price of the bill, then ask how many diners there are. Divide the total bill by the number of diners and show how much each person must pay.

User Emil M
by
3.9k points

1 Answer

6 votes

Answer:

def bill(price, diners)

return bill / diners

User Barracuda
by
5.3k points