def add(a,b):
return int(a) + int(b)
num1 = input("please enter number 1 ")
num2 = input("please enter number 2 ")
answer = add(num1,num2)
print("Here is the addition of ", num1 ,"+",num2 ,"=",answer)
return int(a) + int(b)
num1 = input("please enter number 1 ")
num2 = input("please enter number 2 ")
answer = add(num1,num2)
print("Here is the addition of ", num1 ,"+",num2 ,"=",answer)
No comments:
Post a Comment