Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80309

Re: I need algorithm for my task

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'algorithm': 0.04; 'mrab': 0.05; 'oh,': 0.09; 'cc:addr:python-list': 0.11; '"python': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implemented,': 0.16; 'pythonic': 0.16; 'demonstrate': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'subject:need': 0.19; 'thu,': 0.19; 'example': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'yourself.': 0.31; 'quite': 0.32; 'third': 0.33; 'received:google.com': 0.35; 'version': 0.36; 'really': 0.36; 'list': 0.37; 'nov': 0.38; 'handle': 0.38; 'pm,': 0.38; 'most': 0.60; 'discuss': 0.62; 'homework': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=nxfa1yhQjtP/uMty+caYCHEDzovT0ujuxXTMdlqu7cg=; b=JNHdeUMmHLJEOlkZlL67a1dCts3Ih8Zpv09pfrbSIpcVnHVOuk4DuZx52vpnD4O0Tg R9sx8d+sYnDi+aZaEJCVBHLLL1hsZp64HVZlhqko66cATE/CotuzkmswGP4bV91YCWC5 K2LOEGGdlXIkNEtNrmgptWCjKJD1DAq/qiIKvdkzFy0bdfUBVOXnRnAFgcJf79NGcIPb Uh8NNGjOVmOFjzmlG0E557sdxk8SyjpWDPTJc/UK3MsM6d8EzdlilntUql8m/NvKokQ6 +5/h6PvMpgrxfrtQZLoQOrEfmh1y71lnZHl2yLH1cNC4pRo5gKgnJR/CykGKjWmR83YG 0TPg==
MIME-Version 1.0
X-Received by 10.107.136.224 with SMTP id s93mr1755725ioi.36.1415245650904; Wed, 05 Nov 2014 19:47:30 -0800 (PST)
In-Reply-To <m3eqc8$dhn$8@dont-email.me>
References <1962053862.5573720.1415210715670.JavaMail.zimbra@estudiantes.uci.cu> <mailman.15514.1415213345.18130.python-list@python.org> <m3eqc8$dhn$8@dont-email.me>
Date Thu, 6 Nov 2014 14:47:30 +1100
Subject Re: I need algorithm for my task
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15531.1415245653.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415245653 news.xs4all.nl 2869 [2001:888:2000:d::a6]:60882
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80309

Show key headers only | View raw


On Thu, Nov 6, 2014 at 2:36 PM, Denis McMahon <denismfmcmahon@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

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: I need algorithm for my task MRAB <python@mrabarnett.plus.com> - 2014-11-05 18:49 +0000
  Re: I need algorithm for my task Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-06 03:14 +0000
  Re: I need algorithm for my task Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-06 03:36 +0000
    Re: I need algorithm for my task Chris Angelico <rosuav@gmail.com> - 2014-11-06 14:47 +1100
    Re: I need algorithm for my task Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-06 04:00 +0000
      Re: I need algorithm for my task Chris Angelico <rosuav@gmail.com> - 2014-11-06 15:14 +1100
        Re: I need algorithm for my task Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-06 04:39 +0000
          Re: I need algorithm for my task Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-11-06 09:59 +0200
            Re: I need algorithm for my task wxjmfauth@gmail.com - 2014-11-06 00:57 -0800

csiph-web