CodePlay ?

Home › Loop Rover › 7 / 7

✍️ Write

Plot the points

The same loop can build data instead of moving a rover. Finish squares(n) so it returns a list of points (x, x * x) for x from 0 up to n - 1. The chart draws squares(8) after each run.

Loading…