human
converting integer to list in python
assistant
Here is some code to create a list containing digits of number 123 as its elements

list(str(123))

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