From: Neil Smith Date: Tue, 2 Dec 2014 12:23:45 +0000 (+0000) Subject: Merged back changes from presentation X-Git-Url: https://git.njae.me.uk/?p=cas-master-teacher-training.git;a=commitdiff_plain;h=66b6a87c31efb7d13f78c6daf57c4e3f61fc7093 Merged back changes from presentation --- 66b6a87c31efb7d13f78c6daf57c4e3f61fc7093 diff --cc programming.html index 3323da4,2f96507..fb855a2 --- a/programming.html +++ b/programming.html @@@ -323,6 -320,14 +320,10 @@@ Do both with explicit iteration, then u grid_nums = [int(n) for n in GRID_STRING.split()] ``` - + --- + + # Solutions with explicit loops -```python -grid_nums = [int(n) for n in GRID_STRING.split()] -``` + ```python g1 = [] for rowstart in range(0, ROWS * COLUMNS, COLUMNS):