📅  最后修改于: 2022-03-11 14:46:47.602000             🧑  作者: Mango
代码示例1
commas_string = "Hello,World,foo,bar"
spaces_string = comma_string.replace(',', ' ')
print(spaces_string)
# Hello World foo bar