Human: String formatting in Python Assistant: 
Here is some code to print '[1, 2, 3]'

print('[%s, %s, %s]' % (1, 2, 3))

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