Addition of two numbers in python


Addition of two numbers in python ;- It is very easy to add two numbers in python and the code are as follow

Addition of two numbers in python

print('\t \t \t Add to Numbers ')

n1 = input("\n Enter first number      = ")
n2 = input("\n Enter the second number = ")

add = float(n1) + float(n2)
print(" \nThe sum of two number is = ", add)



Comments

Popular posts from this blog