[Tutor] multiple objects with one assignment?

Brandon Dorsey brandontdr at gmail.com
Fri Jan 2 12:51:31 CET 2015


On Fri, Jan 2, 2015 at 6:08 AM, Ben Finney <ben+python at benfinney.id.au>
wrote:

> Does it help you to understand if I clarify that a tuple is one value?
> That a list is one value? That a dict is one value?
>

Well I knew that those data structures represent one value that can hold
"x" amount of objects, but what I didn't realize was that commas are used
for making
tuples, not parentheses.

Thank you for the clarification.


--


More information about the Tutor mailing list