Does anyone know the answer to "More Than One Argument"


#1

I have typed this in:

def add_function(x,y):
x + y

It is coming up with: Oops, try again. add_function(-14, 4) returned None, did you remember to return the result?
Please can someone help!!!!!!!!!


#2

@gwenwilletts,

def add_function(x,y):
    return x + y

print( add_function(-14,4) )

#3

x = 5
y = 13
def add_function(x, y):
return x + y
print add_function(x, y)


#4

Right. You need to return the value of x + y, even though the instructions don't mention this.