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


Groups > comp.lang.python > #74394

Re: codingbat question broken?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'failing': 0.07; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:broken': 0.16; 'wrote:': 0.18; 'result.': 0.19; 'example': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'anyone': 0.31; 'figure': 0.32; 'cases': 0.33; 'no,': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'wrong': 0.37; 'pm,': 0.38; 'show': 0.63; 'jul': 0.74; '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=EpUuDtAYY2TEGmU1SCmMvN0oFxBP6C79598rIwUVTao=; b=bLJYKIF1YsYPuZ7wgSsPGyDxG0JqF6liI7XgOkqsRKsScf1K3PLP9e8G7WCIDcrwpE WINVZB0kp2xn36VCo0V3rtVst30owUoVa+t7+VbcI9NIaUsU+p8yLOwyc3mi/OO0TAiS tCHol6iq4qmKRDfQqnly5RMOPk7o/PpT11rS/dfraAG5Em9nOBiaYLclgFg7Bzpdvgrw D5E3mWl4sj/RAXqFn6TTScX2V7RP9HoqB9IR3s1ZMVJngIhlYbm1X3jry92EyMVjiiNk vIOIzd3thmZWkKIzzBwuBL2IEMY6RdMqbpFXXcfD//gpIdcxy3ohoiBocLHDO7FG5BxP b+5A==
MIME-Version 1.0
X-Received by 10.58.11.234 with SMTP id t10mr8341386veb.8.1405217958946; Sat, 12 Jul 2014 19:19:18 -0700 (PDT)
In-Reply-To <CABRP1o_xZYrojpjpT6u11jM1TTOp6aPBELsF4oYo3CLdeFLzZA@mail.gmail.com>
References <CABRP1o_xZYrojpjpT6u11jM1TTOp6aPBELsF4oYo3CLdeFLzZA@mail.gmail.com>
Date Sun, 13 Jul 2014 12:19:18 +1000
Subject Re: codingbat question broken?
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.11782.1405217961.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1405217961 news.xs4all.nl 2925 [2001:888:2000:d::a6]:46678
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74394

Show key headers only | View raw


On Sun, Jul 13, 2014 at 12:05 PM, Rodrick Brown <rodrick.brown@gmail.com> wrote:
>
> Can anyone show me an example where all test are success?

No, because that's asking for the answer :) What you need to do is
look at the failing test cases, and figure out why your function is
giving the wrong result. Do you see what's true of all the failing
cases and is not true of any others? That might give you a clue as to
what's wrong.

ChrisA

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


Thread

Re: codingbat question broken? Chris Angelico <rosuav@gmail.com> - 2014-07-13 12:19 +1000
  Re: codingbat question broken? Orochi <kartikjagdale11@gmail.com> - 2014-07-13 13:44 -0700

csiph-web