I know the right way to have multiple for in a nested list comprehension is as follows (Python 3):
lista = [[[1,2],[3],[4,5,6]],[[7],[8,9]]]
fl
Just remember the famous line from Casablanca: "Of all the gin joints in all the towns in all the world..." And then remember that the Python equivalent is backwards from that.
[ginjoint for town in world for ginjoint in town]
Because who wants their programming language to sound like the greatest movie of all time?