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 Introducing Lists Meet Lists All You Need Is Lists

having trouble with lists

Im on task 2/2 and have NO IDEA what I'm doing wrong! plz help!

beatles.py
beatles = ["John"]
others = ["George", "Ringo"]
# Your code here
beatles.append("Paul")
beatles = beatles + others

1 Answer

Leo Yun Tao
Leo Yun Tao
15,956 Points

Your method is correct but the challenge asks you to use the extend method

here is the answer if you still don't get it:

beatles = ["John"]
others = ["George", "Ringo"]
# Your code here
beatles.append("Paul")
beatles.extend(others)

Thank you Leo i appreciate it!