执行下面Python代码后,输出的结果是?( )
def func(lst):
lst.append(10)
return lst
lstA = [1,2,3]
func(lstA)
print(lstA,func(lstA))
[1, 2, 3, 10, 10] [1, 2, 3, 10, 10]
[1, 2, 3] [1, 2, 3, 10]
[1, 2, 3, 10] [1, 2, 3, 10]
[1, 2, 3, 10] [1, 2, 3, 10, 10]