projects
/
cas-master-teacher-training.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
07484b5
)
Merged back changes from presentation
author
Neil Smith
<neil.git@njae.me.uk>
Tue, 2 Dec 2014 12:23:45 +0000
(12:23 +0000)
committer
Neil Smith
<neil.git@njae.me.uk>
Tue, 2 Dec 2014 12:23:45 +0000
(12:23 +0000)
programming.html
patch
|
blob
|
history
diff --git
a/programming.html
b/programming.html
index 3323da422795aefe98923a9d09883cc958948fcc..fb855a26af019ddd096bf26c6b965c082a010c21 100644
(file)
--- a/
programming.html
+++ b/
programming.html
@@
-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):