下面代码的输出结果是( )。 s1 = "The python language is a scripting language." s2 = s1.replace('scripting','general') print(s2)
(A)s2
(B)The python language is a scripting language.
(C)['The', 'python', 'language', 'is', 'a', 'scripting', 'language.']
(D)The python language is a general language.
参考答案
继续答题:下一题