s="Thepythonlanguageisamultimodellanguage."[br][/br]print(s.split(''))[br][/br]代码的输出结果是()
A: Thepythonlanguageisamultimodellanguage.
B: ['The','python','language','is','a','multimodel','language.']
C: Thepythonlanguageisamultimodellanguage.
D: 系统报错
A: Thepythonlanguageisamultimodellanguage.
B: ['The','python','language','is','a','multimodel','language.']
C: Thepythonlanguageisamultimodellanguage.
D: 系统报错
举一反三
- 下面代码的输出结果是s = "The python language is a multimodel language."print(s.split(' ')) A: ['The', 'python', 'language', 'is', 'a', 'multimodel', 'language.'] B: Thepythonlanguageisamultimodellanguage. C: 系统报错 D: The python language is a multimodel language.
- 下面代码的输出结果是s = "The python language is a multimodel language."print(s.split(' ')) A: 系统报错 B: ['The', 'python', 'language', 'is', 'a', 'multimodel', 'language.'] C: Thepythonlanguageisamultimodellanguage. D: The python language is a multimodel language.
- 下面代码的输出结果是( )。s = "The python language is a multimodel language.";print(s.split(' ')) A: ["The","python","language","is","a","multimodel","language."] B: The python language is a multimodel language. C: Thepythonlanguageisamultimodellanguage. D: 系统报错
- s="Thepythonlanguageisacrossplatformlanguage."[br][/br]print(s.find('language',30))[br][/br]代码的输出结果是() A: 11 B: 40 C: 系统报错 D: 10
- 执行以下代码输出的结果是(<br/>) a=”Python<br/>is a beautiful language”<br/>print(a.split()) A: Python<br/>is a beautiful language B: Python<br/>, is ,a, beautiful, language C: [‘Python’,‘is’,<br/>‘a’,‘beautiful’, ‘language’] D: AttributeError:’int’<br/>object has no attribute ‘split’