$10K coding deathmatch
Jonathan Ellis
jonathan at carnageblender.com
Thu Nov 2 11:17:19 MST 2006
On Thu, 02 Nov 2006 10:13:34 -0800, "Jonathan Ellis"
<jonathan at carnageblender.com> said:
> On Thu, 2 Nov 2006 04:57:41 -0500, "Barry Roberts" <blr at robertsr.us>
> said:
> > I'm still a python novice, but I thouhgt it would be fun to post a
> > python solution just for discussion.
>
> Your python reference appears to be about 5 years old. :)
>
> Here's a translation that uses some newer features. Untested, YMMV.
oops, I screwed up the match/not match part. your else at the end of
the for loop was the right way to go.
the rest probably works. :)
--
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay
More information about the PLUG
mailing list