Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to Write a program that accepts three decimal numbers as input and outputs their sum on python

from decimal import Decimal

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

print (a+b+c)
Source by www.assignmentexpert.com #
 
PREVIOUS NEXT
Tagged: #Write #program #accepts #decimal #numbers #input #outputs #sum #python
ADD COMMENT
Topic
Name
1+1 =