Python Introducing Lists Meet Lists All You Need Is Lists

Ethan Newell
Ethan Newell
1,867 Points

i need some help with this please :)

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

1 Answer

Steven Parker
Steven Parker
182,341 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
Pro Student 1,347 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
182,341 Points

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

mohan Abdul
mohan Abdul
Pro Student 1,347 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
182,341 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).

mohan Abdul
mohan Abdul
Pro Student 1,347 Points

thanks Steven Parker it was the capital 'P', that's was missing.