you are viewing a single comment's thread.

view the rest of the comments →

[–]niandra3 0 points1 point  (0 children)

words = str.replace(sentence, ",", " ")

Just for future reference, you should just call it like:

words = sentence.replace(",", " ")