Is there some problem with my code or is it technical issue with code academy


#1


Lists and function : More than one argument.



<do not remove the three backticks below>
```python
Replace this line with your code.
```
m = 5
n = 13
# Add add_function here!
def add_function(x,y):
    x = m
    y = n
    z = x + y
    return z

print add_function(m, n)


#2

your function has two parameters (x and y), why would you overwrite them? If we now add a second function call:

m = 5
n = 13
# Add add_function here!
def add_function(x,y):
    x = m
    y = n
    z = x + y
    return z

print add_function(m, n)
print add_function(30,14)

the output result will be wrong, the second function call with arguments 30 and 14 should output 44

Function parameters get there value from arguments at function call, don't overwrite your function parameters


#3

m = 5
n = 13

Add add_function here!

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

print add_function(m, n)

Perfect. This worked fine ..
Thank you for swift reply


#4