x = input("Enter the first number!")
y = input("Enter the second number!")
z = input("Enter the third number!")
def adding(a, b, c):
s = a+b+c
return s
c = adding(x, y, z)
print(c)
I've tried a program of addition in python IDE, but instead of printing sum it returns concatenation of numbers as strings.
I don't know what's wrong with it?
Anybody have any idea?
Sorry! for a dumb question.....