print sum(x ** 2 for x in range(4))print sorted(x ** 2 for x in range(4))print sorted((x ** 2 for x in range(4)), reverse=True)import mathprint map(math.sqrt, (x ** 2 for x in range(4)))