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)

Please click on the like button if it worked

Solution not working or have any suggestions? Please send an email to [email protected]

Join Our Facebook Group

Share this example

Download Android App 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