Merged back changes from presentation
authorNeil Smith <neil.git@njae.me.uk>
Tue, 2 Dec 2014 12:23:45 +0000 (12:23 +0000)
committerNeil Smith <neil.git@njae.me.uk>
Tue, 2 Dec 2014 12:23:45 +0000 (12:23 +0000)
programming.html

index 3323da422795aefe98923a9d09883cc958948fcc..fb855a26af019ddd096bf26c6b965c082a010c21 100644 (file)
@@ -316,13 +316,14 @@ Turn the Euler 11 grid into:
 
 Do both with explicit iteration, then using only comprehensions.
 
----
-
-# Solutions with explicit loops
 ```python
 grid_nums = [int(n) for n in GRID_STRING.split()]
 ```
 
+---
+
+# Solutions with explicit loops
+
 ```python
 g1 = []
 for rowstart in range(0, ROWS * COLUMNS, COLUMNS):