Answer to Question #188625 in Python for Brianna

Question #188625

 You are writing a line of code that should ask the user to input the balance of their bank account in dollars and cents. The program will then perform a multiplication problem to tell the user how much interest they can earn. Identify three errors in your line of input code and explain why they are incorrect. Include the corrected line of code in your answer. Here is the code:

1num = input(What is your balance?)


1
Expert's answer
2021-05-03T12:20:18-0400
Answer:

num = float(input("What is your balance? "))

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

Brianna
03.05.21, 19:39

Thank You So Much!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS