[Tutor] another better way to do this ?
eryksun
eryksun at gmail.com
Sun Jan 12 20:47:15 CET 2014
On Sun, Jan 12, 2014 at 2:38 PM, Keith Winston <keithwins at gmail.com> wrote:
> On Sun, Jan 12, 2014 at 2:22 PM, Keith Winston <keithwins at gmail.com> wrote:
>> if test:
>
> Sigh.... and this line needs to read (if it's going to do what I said):
>
> if test != -1:
Consider the case of `product == "letter"`. Do you want to double
match on the 't' found in `debris`? I'm "+1" for finding a solution...
More information about the Tutor
mailing list