编辑器
# Calculate sum of squares without creating a list total = sum(x * x for x in range(10)) print(total)
285