Python Program to Add Two Numbers

In this program, we will take two values from user as input and calculate their sum.

  1. #Python program to add two numbers
  2. a= int(input("Enter a number: "))
  3. b= int(input("Enter another number: "))
  4. c= a+b
  5. print("Sum of both numbers= ", c)

Output! is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube