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 trialGeorge Lugo
Python Web Development Techdegree Student 922 Pointswhat am i doing wrong here
def my_list[4,2,8,"John","george"] def my_list2["Johnson", "Karam"]
def my_list[4,2,8,"John","george"]
def my_list2["Johnson", "Karam"]
1 Answer
Florian Tönjes
Full Stack JavaScript Techdegree Graduate 50,856 PointsHi George,
the challenge wants you to put 6 items into the first list. The last item should be another list. So you have to put a list into the list as the last item.
Kind Regards, Florian
Dustin James
11,364 PointsDustin James
11,364 PointsI will also note that the challenge wants you to make a variable named my_list.