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 trialJekabs Dambergs
7,417 PointsI cannot finish and understand task 2, with creating the item3.
Some versions when I try, the system breaks down.
my_tuple = ('I', 'love', 'python')
item3 = (my_tuple, 2)
3 Answers
Jennifer Nordell
Treehouse TeacherHi there, Jekabs Dambergs ! Remember, that you can access an item in a tuple just like you access an item in a list by using the index.
So if my tuple were:
whatever = ('My', 'name', 'is', 'Jennifer')
Then I could make a variable and assign "Jennifer" to it like this:
my_name = whatever[3]
Hope this helps!
Jekabs Dambergs
7,417 PointsI keep getting this message: "Oh no! We didn't hear from the challenge service in a timely fashion.
If you continue experiencing problems, please contact support at help@teamtreehouse.com.
Fear not! Your code is safe with us. You will be able to resubmit once you reload the challenge."
Jekabs Dambergs
7,417 PointsThanks, problem resolved after several tries.