Answer to Question #174464 in Python for nun

Question #174464

Write a python statement for the following. a) Assigns the product of 10 and 15 to the variable product. b) Subtracts the variable down_payment from the variable total and assigns the result to the variable due. c) Multiplies the variable subtotal by 0.15 and assigns the result to the variable total. d) Prompts the user to enter his or her favorite color and assigns the user’s input to a variable named color. e) Assume the variable sales references a float value 56.3355. Round the value to two decimal points. 


1
Expert's answer
2021-03-22T15:32:18-0400

Answers:

a) product = 10*15

b) due = total - down_payment

c) total = subtotal*0.15

d) color = str(input("Enter your favourite color? "))

e) round(sales,2)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS