print [x ** 2 for x in range(4)] # List comprehension: build a listprint (x ** 2 for x in range(4)) # Generator expression: make an iterable