<body>
<textarea id="source">
-# Programming strategy
-
+# Programming strategy ![Open University logo](oulogo_hor.png)
## Moving up a level
Data structures
layout: true
-.indexlink[[Index](index.html)]
+.indexlink[![Open University logo](oulogo_hor.png) [Index](index.html)]
---
* Use any type as the value
```python
-neil = {'first_name': Neil', 'surname': Smith', 'age': 44}
+neil = {'first_name': 'Neil', 'surname': 'Smith', 'age': 44}
neil['surname']
```
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):
---
+# Data, not algorithms
+
+Don't put complex, changable logic into code
+
+Build a data structure that describes it, code that reads it.
+
+* Euler 11 directions
+* Multiple choice quiz
+
+---
+
# Algorithms: trading space for time
+## Euler 14
+
</textarea>
<script src="http://gnab.github.io/remark/downloads/remark-0.6.0.min.js" type="text/javascript">
</script>