AQA GCSE · Question 15 · Programming
A group of people have a meal in a restaurant. Instead of one person paying for the whole meal, each person will pay for what they eat.
Write a Python program that asks each person in the group how much they are paying towards the meal and works out when the bill is fully paid. Each person can pay a different amount.
The program should:
Bill paidTip is and the difference between the amount left to pay and 0You should use indentation as appropriate, meaningful variable name(s) and Python syntax in your answer.
31 questions · hints · full answers · grading