pycharm中replace的应用

name = "sucanji"
v = name.replace("s","L")
print(v)
#输出结果就是把sucanji中的s替换成大写的L

pycharm中help(str)可以查看到很多字符串

其中有一个replace的应用