Draw N Squares
Created on Jan. 16, 2017 by Antoine Mazières
You must provide the function draw_n_squares(n)
that returns a string of squares, such as:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
n
is the number of squares on the diagonal.
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.