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

Combine list_1 and list_2 into a new variable named list_3. You can combine lists the same way you combine strings.

I'm trying to understand why it's not taking my code

list_1 = [1,1,1]
list_2 = [2,2,2]

list_3 = list_1 + list_2

1 Answer

SOLVED IT: The code must have a different Item in each part of the array III UH mean list :D

list_1 = [1,2,3]
list_2 = [4,5,6]

list_3 = list_1 + list_2

This code will work