human
Inserting a string into a list without getting split into characters
assistant
Here is some code to insert string `foo` at position `0` of list `list`

list.insert(0, 'foo')

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