in reply to Is 'last' redundant in this code?

how long would it have taken you to change the 'last' to a print "needed" statement and running the code once with 'key' in the array, and once without.

Please read this

.02

cLive ;-)

Replies are listed 'Best First'.
Re: Re: Is 'last' redundant?
by kiat (Vicar) on Apr 07, 2003 at 14:00 UTC
    cLive, thanks! see, it didn't occur to me to test with a print statement. it's definitely not in my interest to waste anybody's time or waste words =)