PYTHON is UNFAIR. Its treating list and a non list variable with partiality
<p>With the example code below:</p>

<pre><code>mat = []
x = 5
def add(c,b):
        print c+b
        x = 8
        mat.append(c)
        mat.append(b)
add(5,6)
add(8,9)
print mat
print x
</code></pre>

<p><code>mat</code> is getting appended but why isn't x changing? Why is python treating the list and a variable a different way?</p>
