Replacing instances of a character in a string,"line = line[:10].replace(';', ':') + line[10:]"