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 trialryota kurazono
Courses Plus Student 4,248 PointsCreating list
I don't know what this sentence below mean.
For the last member, though, add another list with 2 items in it.
my_list = [1,2,3,'Ryota','Kosuke']
2 Answers
Greg Kaleka
39,021 PointsHi Ryota,
Python lists can hold just about anything... including other lists!
Here's an example:
my_list = [["first", "list"], ["second", "one"], [4, 5, False], 8, "pythonista", 3948]
So for this challenge, the last item in your list should be a list, just like the first three items of my list above.
Make sense?
Cheers
-Greg
ryota kurazono
Courses Plus Student 4,248 PointsI see, now I understand. Thank you