On Nov 11, 2:25 pm, John Gordon <gor...@panix.com> wrote:
> In <8f5215a8-d08f-4355-a5a2-77fcaa32c...@j10g2000vbe.googlegroups.com> macm 
> <moura.ma...@gmail.com> writes:
>
> > I pass a nested dictionary to a function.
> > def Dicty( dict[k1][k2] ):
>
> That's not valid syntax.
>
> >    print k1
> >    print k2
> > There is a fast way (trick) to get k1 and k2 as string.
>
> Are you stating this can be done, or are you asking if it can be done?
> Questions usually end with a question mark.  (Are you a native English
> speaker?)
>
> > Whithout loop all dict. Just it!
>
> print "%s" % x
>
> --
> John Gordon                   A is for Amy, who fell down the stairs
> gor...@panix.com              B is for Basil, assaulted by bears
>                                 -- Edward Gorey, "The Gashlycrumb Tinies"

Hi John

I am not a native English speaker. Sorry bad english.

Regards

macm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to