Computer Science, asked by snehlatadevi2008, 1 month ago

WAP in python to find the sum of three numbers.​

Answers

Answered by guptapreeti051181
0

Sum of three numbers

  • a = int(input())

  • b = int(input())

  • print(a + b)
Answered by purveshKolhe
3

\huge{\red{\overbrace{\underbrace{\mathfrak{\purple{answer::}}}}}}

num1 = int(input("Enter first number - "))

num2 = int(input("Enter second number - "))

num3 = int(input("Enter third number - "))

print(num1 + num2 + num3)

-------------------------

\bf{\orange{\underline{Logic-}}}

  • We asked for input in three variables namely num1, num2 and num3.
  • We printed them using print() function.

Hope it helps...

Similar questions