单选题:下面代码的输出结果是()。
下面代码的输出结果是()。
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', 'scripting', 'language.']
D.The python language is a general language.
答案:A
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', 'scripting', 'language.']
D.The python language is a general language.
答案:A