print map(lambda x: x ** 2, range(6)) # list comprehension statement: print [x ** 2 for x in range(6)]