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 trialRonald Greer
Front End Web Development Techdegree Graduate 56,430 Pointshaving trouble with lists
Im on task 2/2 and have NO IDEA what I'm doing wrong! plz help!
beatles = ["John"]
others = ["George", "Ringo"]
# Your code here
beatles.append("Paul")
beatles = beatles + others
1 Answer
Leo Yun Tao
15,956 PointsYour 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)
Ronald Greer
Front End Web Development Techdegree Graduate 56,430 PointsRonald Greer
Front End Web Development Techdegree Graduate 56,430 PointsThank you Leo i appreciate it!