[Tutor] Question on joining out of order dictionary elements

Luke Paireepinart rabidpoobear at gmail.com
Thu Jan 11 23:08:57 CET 2007


raghu raghu wrote:
>
> [snip original message]
>
>
> To print or to retain individual values from a list,it has to be 
> written in the form of
> config={'test1':'elem1','test2':'elem2','test3':'elem3'}
> config['test4'] = 'elem4'
> print config.values()
> print config['test1']- To get individual values from a list
> If we want to retrieve all the values or say 2 from 4 its not possible 
> to put in a while loop and get that as a list only takes one argument 
> at a time better way is to extract individually and respective keys 
> could not be obtained if corresponding values are given.
Hello, raghu -
Please don't reply like this.
It breaks threading.
You should have a Re: in the title bar,
and the quoted text should have > before it.
If you reply like you did, it creates a new thread in Thunderbird.
I believe the 'reply all' button has some kind of magic that tells mail 
clients it's a reply to another message.

In addition, please don't use bolding.
If you reply normally, it will be clear what text is yours and what is 
from the original author.
Bolding text just makes it harder to read.
Thanks,
-Luke


More information about the Tutor mailing list