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 Python Collections (2016, retired 2019) Lists Creating lists

Lukas Johmann
Lukas Johmann
911 Points

I can't complete this challenge

Is this a bug? I am doing everything right I thought.

Challenge Task 1 of 1 This challenge is just meant as a refresher. Create a single new list variable named my_list. Put 3 numbers and 2 strings into it in whatever order you want. For the last member, though, add another list with 2 items in it.

lists.py
my_list = [2, 3, 4, "st", "to", ["sa", "sae"]]

I run your code and are working correctly. Re-write again because looks good.

2 Answers

Luca James
Luca James
4,433 Points

It has to be a bug as I am getting the same thing.. If you look at my code I even tried to make a blank list and appending/extending but it still wont recognize my_list

Try this guys:

my_list = [11, 8, 9, 'a', 'b', [1, 2]]