执行下列Python程序,输出结果是( ) a= 5.5>4.2 b= ‘computer’==’Computer’ c= 34

A. 0

B. 1

C. True

D. False

参考答案与解析:

相关试题

执行下列Python程序,输出结果是什么?a='computer'b="Computer"print(a==b)A、pythonB、TypeError出错C、Tru

执行下列Python程序,输出结果是什么?a=computerb="Computer"print(a==b)A、pythonB、TypeError出错C、Tru

  • 查看答案
  • 执行下列 Python 程序,输出结果是什么? a = 5 > 3 b = 23 ! = 20 c = "python" == "Python"

    执行下列 Python 程序,输出结果是什么? a = 5 > 3 b = 23 ! = 20 c = "python" == "Python" d = 34

  • 查看答案
  • 执行下列 Python 程序,输出结果是什么( ) a = True b = 5.6 < 5 c = " python " = = &quo

    执行下列 Python 程序,输出结果是什么( ) a = True b = 5.6 < 5 c = " python " = = "

  • 查看答案
  • 执行下列Python程序,输出结果是什么?a='python'b="python"print(a==b)A.pythonB.TypeError出错C.True

    执行下列Python程序,输出结果是什么?a=pythonb="python"print(a==b)A.pythonB.TypeError出错C.True执行下

  • 查看答案
  • 执行下列Python程序,输出结果是什么?a=1.5&gt;0.5b=5.6&lt;5c=34&lt;=34print(not( (a or b) )and c)A、0B、1C

    执行下列Python程序,输出结果是什么?a=1.5>0.5b=5.6<5c=34<=34print(not( (a or b) )and c)A、0B、1C、

  • 查看答案
  • 执行下列程序后,结果会在屏幕上显示( )。 strl=”Computer” st

    [单选题]执行下列程序后,结果会在屏幕上显示( )。 strl=”Computer” strl=stuff(strl,4,5,”pany”)?strlA. ComputerB. CompanyC. puterD. strlpany

  • 查看答案
  • 下述程序的输出结果是( )A)22 B)11 C)34 D)12

    [单选题]下述程序的输出结果是( )A.)22B.)11C.)34D.)12

  • 查看答案
  • 执行下列程序段输出结果是()。

    [单选题]执行下列程序段输出结果是()。A . *B . **C . ***D . ****

  • 查看答案
  • 执行语句?LEN(”计算机”)<LEN(”COMPUTER”)后显示的结果是(9

    [试题]执行语句?LEN(”计算机”)<LEN(”COMPUTER”)后显示的结果是(9)。

  • 查看答案
  • 执行下列程序的输出结果是()。main(){union{intb; char c

    [单选题]执行下列程序的输出结果是( )。 main() { union { int b; char c[2]; } y; y.b=0x4142; printf("%c,%c",y.c[1],y.c[0]); }A.65,66B.a,bC.B,AD.A,B

  • 查看答案