Python 语句print(type(1J))的输出结果是:A.<class ‘complex’>B.<class ‘int’>C.<class ‘float’>D.<class ‘list’>
Python 语句print(type(1J))的输出结果是:
A.<class ‘complex’>
B.<class ‘int’>
C.<class ‘float’>
D.<class ‘list’>
参考答案和解析
A
相关考题:
语句: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
(8)设当前日期为2007年12月27日,星期四,则执行下列语句后的输出结果是。 Print Day(Now) Print Month(Now) Print Year(Now) Print Weekday(Now)
有如下语句: 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不对
执行以下语句后,输出的结果是 a$="Good" b$="Afternoon" Print a$+b$ Print a$b $A.Goodaftenoon GoodAfternoonB.Good+ GoodAfternoonC.Good+ GoodAfternoonD.Good Good
语句Print Format(Int(12345.6789*100+0.5)/100,”0000,0.00”)的输出结果是( )。A.12,3456.8SX 语句Print Format(Int(12345.6789*100+0.5)/100,”0000,0.00”)的输出结果是( )。A.12,3456.8B.12,34.5C.12,3 45D.12,345.68
有如下程序: 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)
填空题语句print(3+28/2-12//3)的输出结果是()。