On Wed, 05 Nov 2014 18:49:01 +0000, MRAB wrote: > It doesn't work for the final example or "barbaz".
Oh, and we really need a private "python homework answers" list where we can discuss the most pythonic solution we can think of for all these homework / coursework questions without showing the solutions to the students. I'm quite proud of a 2 line solution to the third algorithm that I implemented, although it might be considered as somewhat obfuscated code by some. ;) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list