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

4 thoughts on “Python Program to Add Two Numbers

  1. Arun

    Hiii am Arun student of Computer science means programmer plz help me am now biginner programmer but I take intereste in Programming world .But I don’t have any Senior and Coach .
    Can you help me

    Reply
    1. Riyaz

      Sure if you are going with programming you need to start from somewhere and i believe since you are cse students so you must be knowing oop so better is to start with java core and after that you will get an idea how and where to go. Perhaps with python ruby big data java script or anything you like

      Reply

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.