Python замените один символ в строку

string.replace(old character, new character, count)
Lorenzo Cocchi