On Sat, Jul 22, 2006 at 06:20:12AM -0400, Kent Johnson wrote:
> We just had a discussion of recursion, you might want to look at it -
> though the code is a bit more complex than this example.
> http://mail.python.org/pipermail/tutor/2006-July/048081.html
Glad to see I'm not the only one to get t
Christopher Spears wrote:
> I am working out of How To Think Like A Computer
> Scientist. Here is the code for a module called
> node.py:
>
> def printList(node):
> nodeList = []
> while node:
> nodeList.append(node.cargo)
> n
I am working out of How To Think Like A Computer
Scientist. Here is the code for a module called
node.py:
def printList(node):
nodeList = []
while node:
nodeList.append(node.cargo)
node = node.next
pri