• 2022-07-25 问题

    print(‘print(“print”)’)输出结果是()。 A: 错误消息 B: ’print(“print”)’ C: print(“print”)

    print(‘print(“print”)’)输出结果是()。 A: 错误消息 B: ’print(“print”)’ C: print(“print”)

  • 2021-04-14 问题

    【单选题】代码print(‘print(“print”)’)的输出结果是()(1.0分) A. ‘print(“print”)’ B. print(print) C. print(“print”) D. 报错

    【单选题】代码print(‘print(“print”)’)的输出结果是()(1.0分) A. ‘print(“print”)’ B. print(print) C. print(“print”) D. 报错

  • 2022-06-27 问题

    下列条件语句中,有语法错误的两个是() A: If x&gt;y Then Print B: If<br/>x&gt;y Then <br/>Print C: If<br/>x&gt;y Then<br/>print D: If x&gt;y Then print x E: If x&gt;y then Print x Else Print y End if

    下列条件语句中,有语法错误的两个是() A: If x&gt;y Then Print B: If<br/>x&gt;y Then <br/>Print C: If<br/>x&gt;y Then<br/>print D: If x&gt;y Then print x E: If x&gt;y then Print x Else Print y End if

  • 2022-06-27 问题

    下列条件语句中,有语法错误的两个是() A: If x&gt;y Then Print x B: If x&gt;y Then Print x C: If x&gt;y Then Print x End If D: If x&gt;y Thenprint x E: If x&gt;y then Print xElse Print yEnd if

    下列条件语句中,有语法错误的两个是() A: If x&gt;y Then Print x B: If x&gt;y Then Print x C: If x&gt;y Then Print x End If D: If x&gt;y Thenprint x E: If x&gt;y then Print xElse Print yEnd if

  • 2021-04-14 问题

    print(‘print(“print”)’) 输出结果是( )。

    print(‘print(“print”)’) 输出结果是( )。

  • 2022-06-06 问题

    以下程序关于全局变量a的使用不正确的是() A: a=8 deff(): print(a) f() print(a) B: a=8 deff(): print(a) a=a*10 print(a) f() print(a) C: a=8 deff(): globala a=40 print(a) a=a*10 print(a) f() print(a) D: a=8 deff(): a=40 print(a) a=a*10 print(a) f() print(a)

    以下程序关于全局变量a的使用不正确的是() A: a=8 deff(): print(a) f() print(a) B: a=8 deff(): print(a) a=a*10 print(a) f() print(a) C: a=8 deff(): globala a=40 print(a) a=a*10 print(a) f() print(a) D: a=8 deff(): a=40 print(a) a=a*10 print(a) f() print(a)

  • 2021-04-14 问题

    阅读下面的python程序,请问输出结果是什么? Print(“T”,end=’’) if not 0 else print (‘F’,end=’’) Print(“T”,end=’’)if 6 else print (‘F’,end=’’) Print(“T”,end=’’)if””else print(‘F‘,end=’’) Print(“T”,end=’’)if”abc”else print(‘F’,end=’’) Print(“T”,end=’’)if____else print (‘F’,end=’’) Print(“T”,end=’’)if(1,2)else print(‘F’,end=’’) Print(“T”,end=’’)if[ ]else print(‘F’,end=’’) Print(“T”,end=’’)if[1,2]else print(‘F’,end=’’) Print(“T”,end=’’)if{ }else print(‘F’,end=’’) Print(“T”,end=’’)if{1,2}else print(‘F’,end=’’)

    阅读下面的python程序,请问输出结果是什么? Print(“T”,end=’’) if not 0 else print (‘F’,end=’’) Print(“T”,end=’’)if 6 else print (‘F’,end=’’) Print(“T”,end=’’)if””else print(‘F‘,end=’’) Print(“T”,end=’’)if”abc”else print(‘F’,end=’’) Print(“T”,end=’’)if____else print (‘F’,end=’’) Print(“T”,end=’’)if(1,2)else print(‘F’,end=’’) Print(“T”,end=’’)if[ ]else print(‘F’,end=’’) Print(“T”,end=’’)if[1,2]else print(‘F’,end=’’) Print(“T”,end=’’)if{ }else print(‘F’,end=’’) Print(“T”,end=’’)if{1,2}else print(‘F’,end=’’)

  • 2021-04-14 问题

    【单选题】2.以下 if 语句语法正确的是()。 A. if(x>0) print(x) Else print(-x) B. If x>0 print(x) else print(-x) C. if x>0: Print(x) Else print(-x) D. if x>0: Print(x) else:print(-x) A. if(x>0)     print(x) Else       print(-x) B. if x>0: Print(x) Else       print(-x) D. B. If x>0 print(x) else       print(-x) C. if x>0: Print(x) Else       print(-x) D. if x>0: Print(x) else:print(-x)

    【单选题】2.以下 if 语句语法正确的是()。 A. if(x>0) print(x) Else print(-x) B. If x>0 print(x) else print(-x) C. if x>0: Print(x) Else print(-x) D. if x>0: Print(x) else:print(-x) A. if(x>0)     print(x) Else       print(-x) B. if x>0: Print(x) Else       print(-x) D. B. If x>0 print(x) else       print(-x) C. if x>0: Print(x) Else       print(-x) D. if x>0: Print(x) else:print(-x)

  • 2022-06-09 问题

    该程序的输出是() A: B::print()called. B: A::print()called. C: A::print()called.B::print()called. D: B::print()called.A::print()called.

    该程序的输出是() A: B::print()called. B: A::print()called. C: A::print()called.B::print()called. D: B::print()called.A::print()called.

  • 2022-06-08 问题

    下列语句中,不能捕获和处理异常的是 A: try:9/0 B: try:9/0except:print("除数不能为0") C: try:9/0except Exception as e:print(e) D: try:9/0except ZeroDivisionError as e:print(e)

    下列语句中,不能捕获和处理异常的是 A: try:9/0 B: try:9/0except:print("除数不能为0") C: try:9/0except Exception as e:print(e) D: try:9/0except ZeroDivisionError as e:print(e)

  • 1 2 3 4 5 6 7 8 9 10