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

alp 6 9

Alp CBAT TEST NUMBER COMPARISION YES AND NO

alp yes no set 14