Python Program to add two numbers


In this program, You will learn how to add two numbers in Python.


20 = 10 + 10

30 = 10 + 20


Example: How to add two numbers in Python

Run it Now
x = int(input("Enter First Number :"))
y = int(input("\nEnter Second Number :"))

z = x + y;

print("\nAddition of Two Numbers is :", z)

Output:

Enter First Number :12
Enter Second Number :12
Addition of Two Numbers is : 24