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

Advertisements
Download Projects

Advertisements

Download WhatsApp Status Video

Buy This Ad Space Only $50 per Month, Ad Size 300X250 Contact on: [email protected] WhatsApp no. 8882538826

Google Adsense Advertisements