1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Gnom [1K]
3 years ago
14

python Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program wi

th two inputs, current price and last month's price (both integers). Then, output a summary listing the price, the change since last month, and the estimated monthly mortgage computed as (current_price * 0.051) / 12.
Computers and Technology
2 answers:
devlian [24]3 years ago
7 0

Answer:

current_price = int(input("Enter current price: "))

last_months_price = int(input("Enter last month's price: "))

print("This house is $%d. The change is a $%d since last month." % (current_price, current_price - last_months_price))

print("The estimated monthly mortgage is $%d." % int(current_price*0.045/12))

Explanation:

- Ask the user to enter the values for <em>current_price</em> and <em>last_months_price</em>.

- Print the current price.

- Calculate change from last month (current_price - last_months_price) and print it.

- Calculate the mortgage (using given formula (current_price * 0.051) / 12) and print it.

professor190 [17]3 years ago
5 0

Answer:

finalprice= current_price-last_months_price

monthly= (current_price*0.051)/12

print('This house is', '$''{:.0f}'.format(current_price),end='.')

print(' ''The change is', '$''{:.0f}'.format(finalprice), 'since last month.')

print('The estimated monthly mortgage is', '$''{:.2f}'.format(monthly),end='.''\n')

Explanation:

You might be interested in
In an experiment in which participants sat in an office and then were asked to remember what they saw in the office, participant
Inessa [10]

Answer:

The answer to this question is the "schemas".

Explanation:

A schema is plural schemata or schemas that defines a pattern of logic or action that constitutes classifications of data and the connections among them. In a computer science schemas is an organized structure for a database and all the operation of data modeling leads by schema. So the answer to this question is schemas

6 0
3 years ago
HELP ME RIGHT NOW !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11Alexandr11 [23.1K]
Technology has helped tremendously business professionals to be more efficient.

2. Business professionals work on the basis of information . Management information is available at the click of the mouse.

3. Communication, within and outside the organisation, has become very easy.

4. Controls on Accounts has become more efficient and less tedious.

5. Work drudgery has been given a go by. Technology has given more free time which can be used for thinking and planning.  
5 0
3 years ago
Why did some people not like the arrival of machines?
Ahat [919]
People are concerned about losing their jobs. The industrial revolution introduced machines that removed the need for humans to be involved in highly repetitive tasks.
3 0
4 years ago
Identify the components of documents merging
Lena [83]
There are 3 components of documents merging :

- input 1  , which contain the data source

- Input 2, which contain the main document

and

- Output 3, which contained the merged the documents
8 0
3 years ago
You are trying to determine whether a certain website is a credible source. You notice it has advertisements along the top and s
mojhsa [17]
The main purpose of that website is most likely going to be to persuade you to buy a certain product
7 0
3 years ago
Read 2 more answers
Other questions:
  • Using a text editor, create a file that contains a list of at least 15 six-digit account numbers. Read in each account number an
    12·1 answer
  • What might happen if a computer has too many applications running at one time?
    15·1 answer
  • Anyone want to talk?
    13·2 answers
  • Write a Python program that will take as input 5 integer values and will output the average of the odd values and the average of
    6·1 answer
  • How it print media used? ​
    9·1 answer
  • A(n) ____ network uses a central cable to which all network devices connect.
    13·1 answer
  • If you commit license fraud by using an altered or unlawful license:
    11·2 answers
  • Excel files have a default extension of ?
    12·1 answer
  • Find the quotient. 2.5 ÷ 5
    8·2 answers
  • Why did NFL equip its players with RDIF tags?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!