Dark theme

Hints


Each function will have the same basic form, which is a nested loop, thus:

  1. Make a landscape list.
  2. Loop y to north_south_size.
  3. Make a row list.
  4. Loop x to east_west_size.
  5. Append height to row.
  6. Dedent from x loop.
  7. Append row to landscape.

As for the height data, row_list.append(50) is reasonably easy. For the others, consider reusuing y and x...


One answer