编程题
10.
获得用户输入的一个字符串,替换其中出现的字符串”py”为”python”,输出替换后的字符串。
【正确答案】
s=input()
print(s.replace("py","python"))
【答案解析】
提交答案
关闭