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 trialEthan Newell
1,925 Pointsi need some help with this please :)
beatles = ["John"]
others = ["George", "Ringo"]
beatles.append ("Paul")
1 Answer
Steven Parker
231,269 PointsIt 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
Courses Plus Student 1,453 Pointsmohan Abdul
Courses Plus Student 1,453 PointsSteven 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
231,269 PointsSteven Parker
231,269 PointsThe code above will pass task 1. Task 2 hasn't been done yet.
mohan Abdul
Courses Plus Student 1,453 Pointsmohan Abdul
Courses Plus Student 1,453 PointsSteven 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
231,269 PointsSteven Parker
231,269 PointsI 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).
mohan Abdul
Courses Plus Student 1,453 Pointsmohan Abdul
Courses Plus Student 1,453 Pointsthanks Steven Parker it was the capital 'P', that's was missing.