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 trialKevin Selagea
2,161 PointsHow can I solve this?
I need some help. I kinda don't understand this.
var_one = [12345]
var_one.index
1 Answer
Danny L.
10,837 PointsOk, so you've created a list of numbers but you need to type it in using proper syntax.
var_one = [0, 1, 2, 3, 4, 't']
Remember that when indexing a list the first item (when going from left to right) has an index value of 0, then 1, and so on.
The challenge asks that the index value of [5] be the letter 't' in my example you can see that the var_one[5] is the letter 't'.
Hope that helps.