单项选择题

下面程序运行结果是(   )。def f(x,y=[]):    for i in range(x):        y.append(i*i)    print(y)f(2)
A、[0,2]
B、[1,2]
C、[0,1]
D、[1,1]

微信扫码免费搜题