def AddApple(fruit=None):
if fruit is None:
fruit=[]
fruit.append('Apple')
return fruit
AddApple()
print(AddApple(['Pear']))
以上程序段运行的结果是?( )
['Pear','Apple']
['Pear','Apple','Apple']
['Apple','Pear','Apple','Apple']
['Apple']