Here you will get python program to add two numbers.
The program will first ask user to enter two numbers, calculate their sum and finally print it.
input() is an inbuilt function which is used to take input from user.
Python Program to Add Two Numbers
a = int(input("enter first number: "))
b = int(input("enter second number: "))
sum = a + b
enter first number:5
enter second number:7