By mentioning "n=" as an argument to your func() definition, you mean to provide an empty Python list as the default parameter.
The problem is with your code that neither you are printing "n" nor it is being returned by the func(). You can try and use the below-updated code:
>>> def func(n=):
[1, 2, 3]