March 2009
Intermediate to advanced
194 pages
4h
English
Extend the built-in classes. How about making your shuffle method here an array method? Or how about making factorial an integer method? 4.to_roman, anyone? In each case, remember to use self to access the object the method is being called on (the 4 in 4.to_roman).