This has been fixed, I originally had:
x = int();y = int()
but I needed:
x = int(x); y = int(y)
I am new to programming and am testing out functions so I made this tiny program that is supposed to add two user input numbers but it just gives out zero,
I know that the numbers are going into the function, They're just not being added and I have no idea why.
Any clues would be greatly appreciated.
You are printing x+y, not returning x+y, which is what you want.
So you want:
return x + y