Header Ads Widget

Write a python program to add two numbers.

 Here we take two integer number a and b .For taking input we use input() function.




program:-


a=int(input("a="))
b=int(input("b="))
c=a+b
print(c)



Output:-

a=2
b=5
7