On Wed, 2009-03-18 at 17:05 -0400, Alex Gaynor wrote:
>
>
> On Wed, Mar 18, 2009 at 4:49 PM, Jason Wang
> wrote:
>
> Hi all,
>
> I have a problem where i have a list which stores a bunch of
> relevant
> key to another dictionary. I want to loop
On Wed, Mar 18, 2009 at 4:49 PM, Jason Wang wrote:
>
> Hi all,
>
> I have a problem where i have a list which stores a bunch of relevant
> key to another dictionary. I want to loop through the list and print
> out the information contained in the keys to output.
>
> Apparently it doesn't work.
>
Hi all,
I have a problem where i have a list which stores a bunch of relevant
key to another dictionary. I want to loop through the list and print
out the information contained in the keys to output.
Apparently it doesn't work.
So for example i have the following:
lst = ["a", "b"]
dic = {"a":1
3 matches
Mail list logo