replace commas with spaces python

Solutions on MaxInterview for replace commas with spaces python by the best coders in the world

showing results for - "replace commas with spaces python"
Elena
21 Jul 2016
1commas_string = "Hello,World,foo,bar"
2spaces_string = comma_string.replace(',', ' ')
3
4print(spaces_string)
5# Hello World foo bar