Python Program to Add Two Numbers

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

Output

enter first number:5
enter second number:7
sum: 12

Leave a Reply

Your email address will not be published. Required fields are marked *