Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNicholas Anstis
2,095 PointsPython Collections quiz
Here's the thing:
Dictionaries use what special operator to unpack: for example, when using str.format(...................my_dictionary ). Tuples, however, use the
alternative string.format( ...............................my_tuple).
Those (...........) are where I have to put my answer in but I don't know what they want me to put in :p
Hope you can help
1 Answer
Allison Hanna
36,222 Points"A single star takes apart tuples or lists, two stars take apart dictionaries."
Check out ~3:53 in this video https://teamtreehouse.com/library/python-collections/tuples/tuples-with-functions
Nicholas Anstis
2,095 PointsNicholas Anstis
2,095 PointsOh yea i completly forgot that thanks a lot