Python Program to Add Two Numbers


-

-

Example:

Copied
print("Enter Number 1: ")
num1 = int(input())

print("Enter Number 2: ")
num2 = int(input())

add = num1+num2
print("\nAddition: ", add)

Output:

Enter Number 1:
10
Enter Number 2:
20

Addition: 30