human
Add string in a certain position in Python
assistant
Here is some code to add string `-` in `4th` position of a string `s`

s[:4] + '-' + s[4:]

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