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


One thought on “Write a python program to add two numbers.

Leave a Reply

Your email address will not be published.