Fwd: Your message to Python-list awaits moderator approval

Heiko Wundram heikowu at ceosg.de
Sat Jul 24 12:41:07 EDT 2004


Am Samstag, 24. Juli 2004 18:35 schrieb Heiko Wundram:
> [snip]

Another try... I can't think straight at the moment... Wrote an exam in 
cognitive psychology this morning...

The two errors in "Partitions of an Integer" are:

1. In the main program, call yieldPartitions(7)
2. In _yieldPartitions(num,lt) in the loop call _yieldPartitions(num-i,i)

Heiko.



More information about the Python-list mailing list