Python语句 print(type([1,2,3,4]))的运行结果是A.< class 'tuple'>B.<class 'dict'>C.< class ,'set'>D.<class,'list'>
Python语句 print(type([1,2,3,4]))的运行结果是
A.< class 'tuple'>
B.<class 'dict'>
C.< class ,'set'>
D.<class,'list'>
参考答案和解析
C
相关考题:
语句:print sgn(-6^2)+Abs(-6^2)+int(-6^2)的输出结果是( )A.-36B.1C.-1D.-7252967.以下语句a=sqr(3)print format(a,####.###)的输出结果是( )A.1.732B. 0001.732C.###1.732D. 1.7320
有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是A.张红B.22C.“女”D.Age
语句Print Sgn(-6^2)+Abs(-6^2)+Int(-6^2)的输出结果是( )。A.-36B.1C.-1S 语句Print Sgn(-6^2)+Abs(-6^2)+Int(-6^2)的输出结果是( )。A.-36B.1C.-1D.-72
有如下程序:Private type stuX as stringY as integerEnd typePrivate Sub Command1_Click()Dim a as stua.x=”ABCD”a.Y=12345print aEnd Sub程序运行时出现错误,错误的原因是A)Type定义语句没有放在标准模块中B)变量声明语句有错C)赋值语句不对D)输出语句print不对
有如下程序: Private Type stu X As String Y As Integer End Type Private Sub Command1 Click( ) Dim a As stu X="ABCD" Y=12345 Print a End Sub 程序运行时出现错误,错误的原因是( )。A.Type定义语句没有放在标准模块中B.变量声明语句有错C.赋值语句不对D.输出语句Print不对
在Python3中,对于一个列表l=["Hello","World"],以下哪些语句可以正常输出"HelloWorld"。()A、print("".join(l))B、print(l.join(""))C、print(*l,sep="")D、print(l)
填空题Python语句’’.join(list(’helloworld!’))执行的结果是()。