codingbat question broken?

Chris Angelico rosuav at gmail.com
Sun Jul 13 04:19:18 CEST 2014


On Sun, Jul 13, 2014 at 12:05 PM, Rodrick Brown <rodrick.brown at 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



More information about the Python-list mailing list