addition with function
def func(a,b):
sum = a+b
print sum
a=int(raw_input ("Enter value of a"))
b=int(raw_input ("Enter value of b"))
func(a,b)
sum = a+b
print sum
a=int(raw_input ("Enter value of a"))
b=int(raw_input ("Enter value of b"))
func(a,b)
Comments
Post a Comment