阅读程序,输出结果是( )。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)
阅读程序,输出结果是( )。def var_in_out():str1 = "python"print(str1)var_in_out()print(str1)
A. python python
B. python 出错
C. 出错 出错
D. 出错 python
下面程序的运行结果为( )。fr = []def myf(frame):fa = ['12','23']fr = famyf(fr)print( fr)
A. ['12', '23']
B. '12', '23'
C. 12 23
D. []
下面代码的运行结果是( )。def Sum(a, b=3, c=5):print(a,b,c)Sum(a=8,c=2)
A. 8 2
B. 8,2
C. 8 3 2
D. 8,3,2