Python version of Elements of Programming examples and exercises