This community-built FAQ covers the “Growing a List: Plus (+)” exercise from the lesson “Introduction to Lists in Python”.
Paths and Courses
This exercise can be found in the following Codecademy content:
Visualize Data with Python
Analyze Data with Python
Analyze Financial Data with Python
Build Chatbots with Python
Build Python Web Apps with Flask
Learn Python 3
CS101 Livestream Series
FAQs on the exercise Growing a List: Plus (+)
There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
You can also find further discussion and get answers to your questions over in #get-help.
Agree with a comment or answer? Like () to up-vote the contribution!
Need broader help or resources? Head to #get-help and #community:tips-and-resources. If you are wanting feedback or inspiration for a project, check out #project.
Looking for motivation to keep learning? Join our wider discussions in #community
Learn more about how to use this guide.
Found a bug? Report it online, or post in #community:Codecademy-Bug-Reporting
Have a question about your account or billing? Reach out to our customer support team!
None of the above? Find out where to ask other questions here!
So in the session it gives the example for adding one item to a list by using this code:
my_list + 
but when I did that to try it out it didn’t work. I had to type:
my_list = my_list + 
and then it would print the list + 4 the other way didn’t throw a code but it didn’t add 4 to the end of my list. Is it not suppose to?
Ok to add, I tried it in terminal, since we set up IPython and I wrote this code:
list = [1, 2, 3, 4, 5]
list + 
the first print statement printed “[1, 2, 3, 4, 5]”
the second printed “[1, 2, 3, 4, 5, 4]”
So it does work that way! However it doesn’t print that way in the codecademy playground.
Hi, I’m having trouble with running the code in this lesson. It runs but the exercise still says I’ve done it incorrectly despite the “hint” indicating that I have done it correctly. Is there an issue with Codecademy Pro or am I missing something? My code is:
orders = [“daisy”, “buttercup”, “snapdragon”, “gardenia”, “lily”]
Create new orders here:
new_orders = orders + [“lilac”, “iris”]
Don’t worry. I figured it out. I didn’t realise the exercise was wanting me to create two separate lists.
Yeah, this one threw me for a little while too - for anyone else confused, this guy is right
I’m still confused. I might need a more explicit answer, please. Thank you.
UPDATE: figured it out. Just declare a new list called new_orders with lilac and iris as list items.
Hi, I have a question. I get that by using Plus we add something at the end of the list, but is there a way to ad something in another place, for example at the beginning or in the middle of it?
list = list + 
list += 
.extend[4, 5, 6]
list +  doesn’t work
i am still very confused. I don’t understand why Codecademy throws an error when trying to use the same example list + .
how to get the output of lists without the [ ] brackets? in the terminal.