Reading data in lists: Error

Wadhwa, Rajiv rajiv at cbmi.pitt.edu
Mon Nov 1 13:32:30 EST 2004


Hello,

 

Saw your name and address on internet regarding a python problem. I am a
medical doctor in US taking some Python classes. WE have a problem where we
are supposed to find a 'term' (substring) in a list. 

 

Format is:

 

[ [ as, fe kd]. [dr ft js] ...]]

 

Is there a way that this words or 'parts' of them( e.g. 'dr' ) can be read
from this and then the answer is supposed to write the complete list from
where that word or parof it I coming from.

 

Any input would be much appreciated.

 

Thanks,

 

rajiv

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


More information about the Python-list mailing list