运行语句print(type([1, 2, 3, 4]))输出的结果是()A.<class 'tuple'>B.<class 'dict'>C.<class 'set' >D.< class 'list' >
运行语句print(type([1, 2, 3, 4]))输出的结果是()
A.<class 'tuple'>
B.<class 'dict'>
C.<class 'set' >
D.< class 'list' >
参考答案和解析
< class 'list' >
相关考题:
语句: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
有以下程序 main ( ) int k=4, n=0; for ( ; n<k;) { n++; if (n%3 !=0) continue; k-- ; } print f ( "%d, %d\n", k, n); 程序运行后的输出结果是A.1, 1B.2, 2C.3, 3D.4, 4
有如下程序:#includeiostreamusing namespace std;class A{public:A(int i):r1(i){}void print(){cout‘E’rl‘-’;}void print()const{cout‘C’rl*rl‘-’;}private:int rl:};int main(){A a1(2); const A a2(4);a1.print(); a2.print();return 0;}运行时的输出结果是A.运行时出错B.E2-C16-C.C4-C16-D.E2-E4-
语句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 Sub Form. Click( ) m=1 For i=4To 1 Step-1 Print Str(m);m=m+1 For j=1 To i Print"*": Next j Print Next i End Sub 程序运行后,单击窗体,则输出结果是( )。A.1**** 2*** 3** 4*B.4**** 3*** 2** 1*C.**** *** ** *D.* ** *** ****
有如下程序: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不对
下面四个语句中,输出逻辑为“真”的是()。A.Print Not(3+51 And 32 Or 2 下面四个语句中,输出逻辑为“真”的是( )。A.Print Not(3+5<4+6)B.Print2>1 And 3<2C.Print 1>2 Or 2>3D.Print Not(1>2)
下面程序的输出结果是includeclass example{ int a;public: example(int b){a=b++; 下面程序的输出结果是 #include<iostream.h> class example { int a; public: example(int b){a=b++;} void print(){a=a+1; cout<<a<<" ";} void print()const{cout<<a<<" ";} }; void main() { example x(3); const example y(2); x.print(); y.print(); }A.2 2B.4 3C.4 2D.3 2
填空题语句print(3+28/2-12//3)的输出结果是()。