Add Two numbers Program in Python

Advertisements

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

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Download Projects

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements