human
Python: Finding average of a nested list
assistant
Here is some code to find average of a nested list `a`

a = [(sum(x) / len(x)) for x in zip(*a)]

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