Friday, September 23, 2011

Exercise 23 - Read some code

For this exercise, we have to read some code and try to make sense of it. I have picked up 3 samples and will read each one of them.

  1. skills.py
  2. cookme_recipes.py
  3. Game of life
I read through the first two examples. The proved to be a very good starting point. They worked mostly with maps, creating them, getting keys, creating maps where the value is yet another map, etc.

The third one gameoflife.py is an implementation of Conways Game of Life in Python.

Completed reading it. This Python files used classed, functions, and a main function also. Nice experience, I will recommend that everyone try this exercise sincerely.


No comments:

Post a Comment