单项选择题
Python中,下面哪个选项的np.ndim值最小()
A.np =numpy.array([(1,2,3,4)])
B.np =numpy.array([(1,2),(3,4)])
C.np =numpy.array(((1,2),(3,4)))
D.np=numpy.array([{1,2,3,4}])
点击查看答案&解析
相关考题
-
单项选择题
在Python中,有列表numbers,若要判断列表是否为空,可以使用语句()
A.if numbers
B.else numbers
C.for numbers
D.numbers=NULL -
单项选择题
在Python中,有列表users,语句while users:的终止条件为()
A.列users为空
B.列表users第一个元素为0
C.列表users第一个元素为NULL
D.列表users被删除 -
单项选择题
Python中,列表arr=[],使用len(arr)方法获取列表arr的长度为()
A.-2
B.-1
C.0
D.null