Add Two numbers Program in Python


Prev Tutorial Next Tutorial

Add Two numbers Program in Python

Add two number program in python is very simple and easy.

Add Two numbers Program in Python

number1 = input("Enter First Number: ")
number2 = input("Enter second number: ")
 
sum = float(number1) + float(number2)
print('Sum of {0} and {1} is {2}'.format(number1, number2, sum))

Output

	
Enter first number: 10
Enter second number: 20
Sum of 10 and 20 is 30.0

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements