The `str.replace(old, new, max)` method is used to replace the substring `old` with the string `new` for a total of `max` times. This method returns a new copy of the string with the replacement. The original string `str` is unchanged.
Read more about string replacement in the <ahref='https://docs.python.org/2/library/string.html#string.replace'target='_blank'rel='nofollow'>Python docs</a>