searching structures

Alberto Vera avera at coes.org.pe
Tue Oct 21 09:54:42 EDT 2003


Hello:

I have next structures:

A[1,2,3]
AB[4,5,6]
ABC[7,8,9]
ABCD[1,2,3]
ABCDE[4,5,6]
ABCDEF[7,8,9]

I'd like to know how many 'arrays' start with ABCD like ABCD*
(ABCD,ABCDE,ABCDEF)

Is it possible to do it using Python?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20031021/e9f08d3f/attachment.html>


More information about the Python-list mailing list