Is the only problem that your code is giving unexpected results, or that it doesnt run or what? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20121001/a23762c8/attachment.html>