题目内容

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

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

查看答案
更多问题

下面代码的输出结果是 s="The python language is a muhimodel language." print(s.split(''))

A. ['The','python','language','is','a','muhimodel','language.']
B. Thepythonlanguageisamultimodellanguage.
C. The python language is a muhimodel language.
D. 系统报错

下面代码的输出结果是 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 muhimodel language.
D. ----Python:----A Superlanguage

下面代码的输出结果是 a="ac" b="bd" c=a+b print(c)

A. acbd
B. abcd
C. bdac
D. dbca

访问字符串中的部分字符的操作称为()。

A. 分片
B. 合并
C. 索引
D. 赋值

答案查题题库