Mega Code Archive
Categories
/
Python Tutorial
/
Buildin Function
List Comprehensions
squared = [x ** 2 for x in range(4)] for i in squared: print i