题目内容

设str1='*@python@*',语句print(str1[2:].strip('@'))的执行结果是______

A. *python*
B. *@python@*
C. python@*
D. python*

查看答案
更多问题

下面代码的输出结果是 >>>x="Happy Birthday to you!" >>>x*3

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

下面代码的输出结果是 >>>oct(-255)

A. '-0o377'
B. '0o-377'
C. '-0d377'
D. '0d-377'

下列选项中输出结果是True的是

A. >>>isinstance(255,int)
B. >>>chr(13).isprintable()
C. >>>"Python".islower()
D. >>>chr(10).isnumeric()

下面代码的输出结果是 s="The python language is a cross platform language." print(s.find('language',30))

A. 11
B. 40
C. 10
D. 系统出错

答案查题题库