467 shaares
Python's syntax for nested list comprehensions always seemed backwards to me; here's an explanation for why it is the way it is. I still think nested for-loops are easier to read.
Python's syntax for nested list comprehensions always seemed backwards to me; here's an explanation for why it is the way it is. I still think nested for-loops are easier to read.