human
Python: for loop in index assignment
assistant
Here is some code to convert integer elements in list `wordids` to strings

[str(wi) for wi in wordids]

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