Question: use python only Write a program which asks the user to enter an integer number corresponding to the number of people in a group going

 use python only Write a program which asks the user to

use python only

Write a program which asks the user to enter an integer number corresponding to the number of people in a group going on holiday together. The program then asks the user for a float number corresponding to the total amount of expenses. The program calculates the amount each person needs to contribute towards the holiday expenses. The first person agreed to pay for 1/4 of the expenses. The rest is divided evenly among the other friends. Round each amount to pay to 2 decimal places and print as per the format in the examples below. For example

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!