Commit 226ddb9b authored by Toby Hodges's avatar Toby Hodges
Browse files

fixed an error where studentNumbers wasn't accessible in this notebook

parent aae3dfe5
......@@ -316,10 +316,17 @@
Now, when you want to check a data structure, you can just do the following and get a nice readable printout of your data structure:
%% Cell type:code id: tags:
``` python
# this is the dictionary from Worksheet 2
studentNumbers = { 'Bioscience Technology': 16,
'Computational Biology': 12,
'Post-Genomic Biology': 20,
'Ecology and Environmental Management': 3,
'Maths in the Living Environment': 0
}
variable = studentNumbers # this is the dictionary from Worksheet 2
pp.pprint(variable)
```
%% Cell type:markdown id: tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment