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

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

a='computer'

b="Computer"

print(a==b)

A、python

B、TypeError出错

C、True

D、False

参考答案与解析:

相关试题

执行下列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= 5.5>4.2 b= ‘computer’==’Computer’ c= 34

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

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

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

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

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

  • 查看答案
  • ?LEN("计算机")<LEN("COMPUTER")的显示结果是 ( ) 。

    [试题]?LEN("计算机")<LEN("COMPUTER")的显示结果是 [ ] 。

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

  • 查看答案
  • 以下程序的输出结果是()。 for i in"Nation":for k in range(2):if i='n': break print

    以下程序的输出结果是()。 for i in"Nation":for k in range(2):if i=n: break print

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

  • 查看答案
  • 下面程序的输出结果是()。 def StudentInfo(country='中国',name): print('(},{)'.format(name,country)

    下面程序的输出结果是()。 def StudentInfo(country=中国,name): print((},{).format(name,country)

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

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

  • 查看答案