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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started