Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions