Add two number using python

print("enter your first number")
inpnum1=input()
print("enter your second number")
inpnum2=input()

print("sum of two numberis=",int(inpnum1)+int(inpnum2)) 


output

enter your first number

6

enter your second number

9

sum of two number is= 15


Process finished with exit code 0

Comments

Popular posts from this blog

A story of friendship A tiger and a rat......become a revengable....

best pen drive

wap to perform subtraction