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

i need some help with this please :)

beatles.py
beatles = ["John"]
others = ["George", "Ringo"]
beatles.append ("Paul")

1 Answer

Steven Parker
Steven Parker
229,967 Points

It looks like you have already passed task 1.

For task 2, if you just try this code as-is, you'll get a "Bummer" message that contains this hint: "Use the extend method to add all items in one list to another".

mohan Abdul
mohan Abdul
Courses Plus Student 1,453 Points

Steven Parker I have entered the exact same as the person that has started this thread, but when I click show preview and refresh, it doesn't like something. What am I missing? thanks.

Steven Parker
Steven Parker
229,967 Points

The code above will pass task 1. Task 2 hasn't been done yet.

mohan Abdul
mohan Abdul
Courses Plus Student 1,453 Points

Steven Parker, I clicked check work and its not passing try it yourself. Theres something thats missing. python '''beatles = ["John"] others = ["George", "Ringo"] beatles.append("paul")''' . I still don't know how to insert the black box with python script.

Steven Parker
Steven Parker
229,967 Points

I copy the words from inside the black box above and then paste them directly into the challenge box, and it passes task 1 for me with no changes.

Note that in your unformatted sample code you spelled "paul" with a lower-case "p" instead of "Paul" as shown above (and asked for in the instructions).