human
Generic reverse of list items in Python
assistant
Here is some code to get reverse of list items from list 'b' using extended slicing

[x[::-1] for x in b]

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