Answer to Question #99731 in Python for Rafed

Question #99731
Write a program that accepts three decimal numbers as input and outputs their sum.
1
Expert's answer
2019-12-02T12:19:50-0500
from decimal import Decimal

a = Decimal(input())
b = Decimal(input())
c = Decimal(input())

print (a+b+c)

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