I need algorithm for my task
Chris Angelico
rosuav at gmail.com
Wed Nov 5 22:47:30 EST 2014
On Thu, Nov 6, 2014 at 2:36 PM, Denis McMahon <denismfmcmahon at gmail.com> wrote:
> 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. ;)
Fun way to handle that: You get access only when you demonstrate that
you can write a (mostly-)working version yourself.
ChrisA
More information about the Python-list
mailing list