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

Python

from the video regarding indexes- what in gods name is alpha_list = list(alpha)?

I'm pulling my hair out trying to understand this part of the video. You guys must just assume we'll move on when we don't understand something- I CAN'T. I must understand this ridiculous bit of random code that he just glazes right over as though it's some sort of weird syntax.

If it's just a variable, why doesn't he call it my_variable, if it's a freaking list, call it my_list. We're desperately trying to understand the rules here- you have to explain everything you do. Also, we don't need to be shown the wrong way to do something in every video.

2 Answers

Hey Gabriel! I am not sure which video you are talking about, and so it is hard to help, could you please provide a link to the video you are reffering to? However, it seems to me that he is just creating a variable called alpha_list and assigning it to list(alpha). This will turn whatever is stored in the variable "alpha" into a list.

I figured it out, thank you.

Good job Gabriel! You can mark the question as "solved" by sellecting a "best answer".