Classes and Functions
Work through the exercises on this page: http://greenteapress.com/thinkpython/html/thinkpython017.html
I like the work with functions and objects together.
I also like the iterative nature of making the program better. As a student, you most likely won't have deep insight into any problem your trying to tackle. Taking a stab at it and then modifiying your solution to make it continually better is a good approach.
I like the work with functions and objects together.
I also like the iterative nature of making the program better. As a student, you most likely won't have deep insight into any problem your trying to tackle. Taking a stab at it and then modifiying your solution to make it continually better is a good approach.
Classes and Methods
Work through the exercises on this page: http://greenteapress.com/thinkpython/html/thinkpython018.html
How to make better connections between your objects and the functions that go with them. Remember, the whole point of a readable programming language, like Python, is that someone else can look at your program and understand what you did and what you're trying to do.
How to make better connections between your objects and the functions that go with them. Remember, the whole point of a readable programming language, like Python, is that someone else can look at your program and understand what you did and what you're trying to do.
Classes and Inheritance
Work through the exercises on this page: http://greenteapress.com/thinkpython/html/thinkpython019.html
If you're at all confused on how inheritance works in classes, it's worth taking some time and working through these exercises. As always, I suggest creating a new module instead of using the interpreter.
If you're at all confused on how inheritance works in classes, it's worth taking some time and working through these exercises. As always, I suggest creating a new module instead of using the interpreter.