Function Python

def f(x, y=[]):
    y.append(x)
    return y
print f(23)