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 trialAditya Shah
Courses Plus Student 776 PointsWhat am I doing wrong?
my_list = [1, 2, 3, "true",["false", "no"]]
Bummer! Hmm, didn't find enough items in my_list
. It should have 6 total.
The task says to put 3 numbers, and 2 strings, and the last member should be a list with two items in it. I think I've done that.
1 Answer
johngross
5,439 PointsYou need to add one more string before the nested list.
my_list = [1, 2, 3, "true", "string_two", ["false", "no"]]