human
Replacing instances of a character in a string
assistant
Here is some code to replace `;` with `:` in a string `line`

line = line.replace(';', ':')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.