下面代码的输出结果是 s1=’’The python language is a scripting language.’’ s2=s1.replace(’scripting’,’general’) print(s2)

admin2019-09-02  17

问题 下面代码的输出结果是
s1=’’The python language is a scripting language.’’
s2=s1.replace(’scripting’,’general’)
print(s2)

选项 A、The python language is a scripting language.
B、The python language is a general language.
C、[’The’,’python’,’language’,’is’,’a’,’scripting’,’language.’]
D、系统报错

答案B

解析
转载请注明原文地址:https://kaotiyun.com/show/zN6p777K
0

最新回复(0)