WAP in python to find the sum of three numbers.
Answers
Answered by
0
Sum of three numbers
- a = int(input())
- b = int(input())
- print(a + b)
Answered by
3
num1 = int(input("Enter first number - "))
num2 = int(input("Enter second number - "))
num3 = int(input("Enter third number - "))
print(num1 + num2 + num3)
-------------------------
- We asked for input in three variables namely num1, num2 and num3.
- We printed them using print() function.
Hope it helps...
Similar questions