• 2022-06-09
    下面代码的输出结果是‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‪‫ s1 = "The python language is a scripting language."s1.replace('scripting','general')print(s1)
    A: The python language is a scripting language.
    B: 系统报错
    C: The python language is a general language.
    D: ['The', 'python', 'language', 'is', 'a', 'scripting', 'language.']
  • C

    举一反三

    内容

    • 0

      下面代码的输出结果是‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‫‪‪‪‪‪‪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.

    • 1

      下面代码的输出结果是( )。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: 系统报错

    • 2

      下面代码的输出结果是( )。s = "The python is a good language."print(s.split(' ')) A: Thepythonisagoodlanguage. B: ['The', 'python', 'is', 'a', 'good', 'language.'] C: The python is a good language. D: The, python, is, a, good, language

    • 3

      下面代码的输出结果是 ( ) s = "The python language." print(s.find('language',15)) A: 11 B: 15 C: -1 D: False

    • 4

      下面代码的输出结果是( )。 A: = "The python language is a cross platform language. " B: int(s.find("language")) C: 11 D: 40 E: 10 F: 系统报错