solvemefirst

Let's Start Simple Write a programe to Sum of two Decimal Value.

SAMPLE INPUT
12.25
3.60

SAMPLE OUTPUT
15.85

Source: hackerearth | Difficulty: EASY


Solutions:
c=eval(input())
b=eval(input())

a=b+c

print(("{0:.2f}".format(a)))






a=eval(input())
b=eval(input())
v=2
if type(a)==float:
	v=len(str(a).split(".")[1])
	if type(b)==float and (len(str(b).split(".")[1])>v):
		v=len(str(b).split(".")[1])
elif type(b)==float:
	v=len(str(b).split(".")[1])
print("%.*f" % (v, a+b ))


a=float(eval(input("")))
b=float(eval(input("")))
c=float(a+b)
print("%.2f" % c)