Заменить запятые на Python

commas_string = "Hello,World,foo,bar"
spaces_string = comma_string.replace(',', ' ')

print(spaces_string)
# Hello World foo bar
Panicky Pigeon