Practical
Practical - Using Functions
Practical - Types
Practical - Containers
Practical - Dictionaries
Practical - Data Structures
Work with a partner to design a data structure to represent a maze using dictionaries and lists.
Exercise
Solution to the Maze Model exercise
Solution
Practical - Control and Flow
Practical - Iteration
Write a program to count the total number of people in the maze, and also determine the total possible occupants.
Practical - Comprehensions
Write a program to print out a new dictionary, which gives, for each room’s name, the number of people in it.
Solution to the Maze Population Exercise
Practical - Defining Functions
Solution to the Occupancy Dictionary exercise
Practical - Using Libraries
Practical - Classes
Exercise - Classes
Practical - Working with files
Use YAML or JSON to save your maze data structure to disk and load it again.
Using GeoJSON determine the location of the largest magnitude earthquake in the UK this century.
Solution to the extended exercise: the biggest Earthquake in the UK this Century
Practical - Plotting
Work through Matplotlib examples
Solution to the exercise: saving the maze data structure to disk
Practical - Numerical Python