[TriPython] beginner question Tuple in a Tuple
Chris Calloway
cbc at unc.edu
Mon Apr 25 09:19:17 EDT 2016
On 4/24/16 5:12 PM, Greg Frazier wrote:
> Excellent, thanks!
Charlotte already answered this as well as can be answered. I'd like to
add that elements in lists, tuples, and dictionary item values (not the
keys, however), can be *any arbitrary* Python data type including
tuples, lists, dictionaries, functions, and even instances of your own
classes. Really, anything Python object. If those elements are
themselves containers, such as lists, tuples, or dictionaries, then
those elements themselves can also further nest more container elements.
--
Sincerely,
Chris Calloway, Applications Analyst
UNC Renaissance Computing Institute
100 Europa Drive, Suite 540, Chapel Hill, NC 27517
(919) 599-3530
More information about the TriZPUG
mailing list