Answer to Question #282855 in Python for Valu dagale

Question #282855

Accept two float input from the user, add both numbers and display the result. To convert an input



string value into float use float() function.

1
Expert's answer
2021-12-27T08:38:35-0500
a = float(input("The first number: "))
b = float(input("The second number: "))
print("Result:", a+b)

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