Loading…
Compute the sum of the squares of 1..1000 using a list comprehension. Then print 'LCSUM:' plus the sum. (The sum of squares of 1..1000 is 333833500.)
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.