Human: Slicing a list into a list of sub-lists Assistant: 
Here is some code to get a list of tuples of every three consecutive items in list `[1, 2, 3, 4, 5, 6, 7, 8, 9]`

list(zip(*((iter([1, 2, 3, 4, 5, 6, 7, 8, 9]),) * 3)))

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