Back

You are given Two Numbers, A and B. If C = A + B. Find C. Note: Round off the output to a single decimal place. Input Description: You are provided with two numbers A and B. Output Description: Find the sum of the two numbers (A + B)

Created 4 years ago
1348 Views
2 Comments
ShahajiChinchole
@ShahajiChinchole
ShahajiChinchole
@ShahajiChincholeProfile is locked. Login

def sum():

A = float(input("Enter the 1st number "))

B = float(input("Enter the 2nd number "))

C = A+B

print(round(C))

sum()

still, I'm getting error in Guvi editor, please help me.

Comments (2)
Please login to comment.