We have written the code for Python Program to Add Two Numbers below. It is a very easy program.
#program to add two number n1 = int(input("Enter first number = ")) n2 = int(input("Enter second number = ")) #Add number sum = n1+n2 print("Sum of number = ", sum)
First, we input numbers in n1 and n2.
Added both numbers in the second step.
In the last step, print the number.