题目内容

下面代码的输出结果是()‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬x=0b1010print(x)

A. 10
B. 1010
C. 16
D. 1024

查看答案
更多问题

下面代码的输出结果是( )‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬>>>x=”Happy Birthday to you!”>>>x*3

A. 3”Happy Birthday to you!”
B. ”Happy Birthday to you!”
C. 系统报错
D. Happy Birthday to you! Happy Birthday to you! Happy Birthday to you!

下面代码的输出结果是( )a=”Python”b=”A Superlanguage” print(“{:->10}:{:-<19}”.format(a,b))

A. ----Python:A Superlanguage----
B. Python----:----A Superlanguage
C. The python language is a mulitimodel language.
D. ----Python:----A Superlanguage

以下选项中,输出结果为False的是( )

A. 5 in not 4
B. False!=0
C. 5 is 5
D. 5!=4

下面代码的输出结果是( )‪‬‪‬‪‬‪‬‪‬‮‬‭‬‫‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‭‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‮‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‫‬a=2b=2c=2.0print(a==b,a is b,a is c)

A. True False True
B. True True False
C. True True True
D. FalseTrue False

答案查题题库