Python Challenge ahead [NEW] for riddle lovers

darren kirby bulliver at badcomputer.org
Mon May 2 13:47:03 EDT 2005


quoth the Ganesan Rajagopal:
> I am stuck on level 3. I've tried every re that I can think of. Some body
> give me a clue.
>
> Ganesan
>
> --
> Ganesan Rajagopal

>>> t = /text of page source.../
>>> re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)

You should get ten results. Consider all ten together to get your solution...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050502/09a2bbf6/attachment.sig>


More information about the Python-list mailing list