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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![kosi Ofodum](https://secure.gravatar.com/avatar/c2a347f065c7b84730b0b73997489de3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
kosi Ofodum
192 PointsCreate a variable called item3 and assign to it the third element in my_tuple?
how do i do this
my_tuple = 'I', 'love', 'python'
1 Answer
![Steven Tagawa](https://secure.gravatar.com/avatar/36ae1acd26a11d09e1132e08f57c38fa?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Steven Tagawa
Python Development Techdegree Graduate 14,438 PointsHonestly, I had to re-read this challenge a couple of times to figure out what they were asking... They just want you to take the third item in the tuple (which is 'python') and put it in a new variable called 'item3'. So you start with
item3 =
You get to items in a tuple the same way you do with lists, with brackets [] and remember that it starts at zero, so the third item is [2]. So you end up with
item3 = my_tuple[2]