python-by-example-150-chall.../challenges1-11/challenage-008.py
2019-07-17 09:56:46 +03:00

4 lines
210 B
Python

bill_price = int(input('Please enter bill total price : '))
number_of_diners = int(input('Please enter diners number : '))
print('the price for each person is {0}'.format(round(bill_price/number_of_diners,2)))