> If I want to put a dictionary in a dictionary, does the syntax
> for assigning and getting at the stuff in the inner dictionary
> look something like this: outer_dictionary[inner_dictionary][key] =
'value'
Yes.
Sometimes it's easier with Python to just try it at the >>> prompt
rather than ask t
jhomme wrote:
Hi,
If I want to put a dictionary in a dictionary, does the syntax for assigning
and getting at the
stuff in the inner dictionary look something like this:
outer_dictionary[inner_dictionary][key] = 'value' > ?
If inner_dictionary is the key to outer_dictionary, then that is right. Fo
-Original message-
From: Orri Ganel [EMAIL PROTECTED]
Date: Sat, 29 Jan 2005 17:22:48 -0500
To: Kent Johnson [EMAIL PROTECTED]
Subject: Re: Fwd: [Tutor] Control flow
> Kent Johnson wrote:
>
> > Bob Gailer wrote:
> >
> >> At 04:43 AM 1/29/2005, Liam Clarke wrote:
> >>
> >>> < erk, to the