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

执行下列Python程序,输出结果是什么?

a='python'

b="python"

print(a==b)

A.python

B.TypeError出错

C.True

参考答案与解析:

相关试题

执行下列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程序,输出结果是什么?( )x=True y=False w=False z=True print(not((x and y)or(w or z)))A 0 B 1 C Tr

    执行下列Python程序,输出结果是什么?( )x=True y=False w=False z=True print(not((x and y)or(w

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

    执行下列Python程序,输出结果是( ) a= 5.5>4.2 b= ‘computer’==’Computer’ c= 34A. 0B. 1C. TrueD

  • 查看答案
  • 在Python程序中,print('3'+4')输出的值为7。

    在Python程序中,print(3+4)输出的值为7。A. 对B. 错

  • 查看答案
  • 执行下列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、

  • 查看答案
  • write lines ( ls ) for line in fo : print ( line ) fo . close ( ) A python 和 c 同行输出B python 和 c 分 行输

    write lines ( ls ) for line in fo : print ( line ) fo . close ( ) A python 和 c 同

  • 查看答案
  • Python语句 print(type((1,2,3,4)))的结果是: A &lt; class 'tuple' &gt; B &lt; clas

    Python语句 print(type((1,2,3,4)))的结果是: A < class tuple > B < class dict >

  • 查看答案
  • Python语句 print(0xA + 0xB)的输出结果是()

    Python语句 print(0xA + 0xB)的输出结果是()A. 0xA + 0xBB. A + BC. 0xA0xBD. 21

  • 查看答案