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 trial
arnavthecoder
3,453 PointsTuples
Can someone explain what tuples is in simpler terms. Not that what Amit said is confusing. I tried the challenge and part 2 and 3 is really confusing. On the discussion "tuple 2 chalenge" I got the code. If someone could help and reach to me as soon as possible.
1 Answer
Chris Shaw
26,676 PointsHi arnavthecoder,
Tuples in a nutshell are a collection of values encapsulated by parentheses and separated by a comma, like arrays tuples by default are accessible via indexes unless you give them explicit names, see the below link as I've gone into a bit of details using this challenge as an example.