[Ilugc] What data structure in python should I use

  • From: lawgon@xxxxxxxxxxxxxxx (Kenneth Gonsalves)
  • Date: Fri Jan 15 11:58:55 2010

On Friday 15 Jan 2010 11:23:49 am Eknath Venkataramani wrote:

I am unable to use the dictionary because of the format and the variable
number of meanings for each english word

 AFAIK python has 4 data structures - list, tuple, dictionary and set. 
Obviously 3 of them are of no use - so you can use a dictionary (values in a 
dictionary can also be lists, tuples, sets or dictionaries). btw, if you keep 
top posting, the thread makes no sense at all. Please use properly quoted, 
trimmed, interleaved posting.
-- 
regards
kg
http://lawgon.livejournal.com

Other related posts: