Question: Rent amount and monthly contribution rate, and it should return the total amount to be paid. Details from the last week are: Three friends are
Rent amount and monthly contribution rate, and it should return the total amount to be paid. Details from the last week are: Three friends are going to rent a house. The possibilities are Madrid (2600$), London (3000$), Paris (3600$) and Rome (4000$). Additionally, they will share the monthly contribution which is 10% of the rent. Write a program which calculates how much each person should pay in each case. You should get the following output: Madrid: 953.3333333333334 London: 1100.0 Paris: 1320.0 Rome: 1466.6666666666667 Calculate the total amount that includes rent and monthly contribution by using a function. Now repeat the same computation for Berlin (rent: 5000$, contribution: %20) and Athens (rent: 4500$, contribution: %15). python please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
