[Tutor] multiple objects with one assignment?
Brandon Dorsey
brandontdr at gmail.com
Fri Jan 2 12:51:16 CET 2015
On Fri, Jan 2, 2015 at 6:34 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> The thing to remember is that *commas*, not parentheses, are used for
> making tuples. The round brackets are just for grouping.
>
That's what I was confused about. I didn't realize commas defined tuples,
not parentheses. Is this the case
for list and dictionaires as well?
--
More information about the Tutor
mailing list