登录
注册
首页
->
二级Python
下载题库
以下代码的输出结果是()。Ls=[[1,2,3],[[4,5],6],[7,8]]Print(len(ls))
(A)3
(B)1
(C)4
(D)8
查看解析
参考答案
继续答题:
下一题
更多二级Python试题
1
以下程序的输出结果是()。Defcalu(x=3,y=2)Return(x*y)A=abcB=2Print(calu(a,b),end=,)
2
以下不是Python组合数据类型的是()。
3
以下程序的输出结果是()。Defmyf(x=2.0,y=4.0):GlobalspSp+=x*yReturn(sp)Sp=100Print(sp,myf(4,3))
4
在Python语言中,使用for..in..方式形成的循环不能遍历的类型是()。
5
x=2.6,表达式round(x)的结果是()。
6
关于函数定义,以下形式错误的是()。
考试