下面程序运行的结果是( )。def swap(L):temp = L[0]L[0] = L[1]L[1] = tempL = [10,20]swap(L)print(L)
A. [10,20]
B. [20,10]
C. [10,10]
D. [20,20]
阅读程序,输出结果是( )。def params(num1,num2,*args):print(args)params(11,22,33,44,55,66)
A. (11,22)
B. (11,22,33,44)
C. (22,33,44,55)
D. (33,44,55,66)