1- Write a program in Python to calculate sum of three numbers entered by the user and print their sum with ouput
Answers
Answered by
4
CODE--
a = int(input("Please enter a number")
b = int(input("Please enter a number")
c = int(input("Please enter a number")
sum = (a+b+c)
print("Sum is", sum)
Answered by
0
n1 = int(input("Enter 1st Number")
n2 = int(input("Enter 1st Number")
n3 = int(input("Enter 3rd Number")
print ("Sum = ",n1+n2+n3)
Similar questions
World Languages,
2 months ago
Math,
2 months ago
Physics,
2 months ago
Social Sciences,
5 months ago
English,
5 months ago
Physics,
11 months ago
Social Sciences,
11 months ago
Hindi,
11 months ago