执行下面Python代码后,输出的结果是?()
def func(a, lst=[]): lst.append(a) return lst print(func(1), end=" ") print(func(2))
[1] [2]
[1] [1, 2]
[1] [2, 1]
报错