Lists can be nested without explicitly using list references.
As with strings, since both are sequences: list concatenation is done with +, repetition with *
Straight forward membership tests for lists: if element in list
The bultin function range returns as list of numbers, whereas xrange returns an object that generates numbers on demand, therefore being very efficient [...]
Archives for the Date February 12th, 2008
Learning Python: Chapter 8
Tuesday, 12 February 2008
A Short History of Nearly Everything
Seven Languages in Seven Weeks
I Am a Strange Loop