On Jan 13, 11:59 am, "bruce" <bedoug...@earthlink.net> wrote: > Hi.. > > quite new to python, and have a couple of basic question: > > i have > ("term":["1","2","3"]) > > as i understand it, this is a list, yes/no? > > how can i represent this as a dict/list? > > i've got a few of these that i'm trying to deal with.. > > thanks x = {"term":["1","2","3"]} is a dictionary and the value of the key "term" is a list. -- http://mail.python.org/mailman/listinfo/python-list
- basic python list/dict/key question/issues.. bruce
- Re: basic python list/dict/key question/issues.. Albert Hopkins
- Re: basic python list/dict/key question/issues.. Roger