You can use the sequence method list.extend to extend the list by multiple values from any kind of iterable, being it another list or any other thing that provides a sequence of values.

>>> lst = [1, 2]
>>> lst.append(3)
>>> lst.append(4)
>>> lst
[1, 2, 3, 4]

>>> lst.extend([5, 6, 7])
>>> lst.extend((8, 9, 10))
>>> lst
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

>>> lst.extend(range(11, 14))
>>> lst
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]

So you can use list.append() to append a single value, and list.extend() to append multiple values.

Answer from poke on Stack Overflow
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ append-multiple-items-to-list-python
Append Multiple items to List - Python - GeeksforGeeks
July 26, 2025 - Another way to add multiple items to a list is by simply using the '+' operator. ... The '+' operator concatenates two lists, so we can create a new list with the items we want to add by simply adding the two lists.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ how-to-append-multiple-items-to-a-list-in-python
How to Append Multiple Items to a List in Python - GeeksforGeeks
July 23, 2025 - The list.extend() method adds multiple elements to the end of a list, expanding it with the contents of an iterable. The += operator functions similarly to extend(), concatenating the original list with the provided iterable.
๐ŸŒ
Spark By {Examples}
sparkbyexamples.com โ€บ home โ€บ python โ€บ python append items elements to list
Python Append Items Elements to List - Spark By {Examples}
May 31, 2024 - To append or add multiple items to a list in Python you can use the + operator, extend(), append() within for loop. The extend() is used to append multiple items to the end of the list.
๐ŸŒ
Real Python
realpython.com โ€บ python-append
Python's .append(): Add Items to Your Lists in Place โ€“ Real Python
October 21, 2023 - In this step-by-step tutorial, you'll learn how Python's .append() works and how to use it for adding items to your list in place. You'll also learn how to code your own stacks and queues using .append() and .pop().
Find elsewhere
๐ŸŒ
NumPy
numpy.org โ€บ doc โ€บ 2.3 โ€บ reference โ€บ generated โ€บ numpy.append.html
numpy.append โ€” NumPy v2.3 Manual
>>> import numpy as np >>> np.append([1, 2, 3], [[4, 5, 6], [7, 8, 9]]) array([1, 2, 3, ..., 7, 8, 9]) When axis is specified, values must have the correct shape.
๐ŸŒ
Pierian Training
pieriantraining.com โ€บ home โ€บ python tutorial: how to append multiple items to a list in python
Python Tutorial: How to append multiple items to a list in Python - Pierian Training
April 12, 2023 - Then we create another list called `new_items` which contains the values we want to add to `my_list`. Next, we use a for loop to iterate through each item in `new_items`. Inside the loop body, we use the `append()` method to add each item to `my_list`. Finally, we print out the updated `my_list` which now contains all the original items plus the new ones. Using a for loop like this is a simple and efficient way to append multiple items to a list in Python.
๐ŸŒ
DigitalOcean
digitalocean.com โ€บ community โ€บ tutorials โ€บ python-add-to-array
Python Array Add: How to Append, Extend & Insert Elements | DigitalOcean
April 15, 2025 - To add elements to an array in Python, you can use the append() method for single elements or the extend() method for multiple elements.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ how-to-add-element-to-array-in-python
How to Add Element to Array in Python - GeeksforGeeks
July 23, 2025 - If you want to append multiple elements one by one, you can use a loop. Although this is less efficient than other methods, it gives you full control over how the elements are added.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ append-in-python-how-to-append-to-a-list-or-an-array
Append in Python โ€“ How to Append to a List or an Array
January 7, 2022 - Inside the brackets add the values you want the list to contain. #create a new list of names names = ["Jimmy", "Timmy", "Kenny", "Lenny"] #print the list to the console print(names) #output #['Jimmy', 'Timmy', 'Kenny', 'Lenny'] Lists maintain ...
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ ref_list_append.asp
Python List append() Method
Python Examples Python Compiler ... Q&A Python Bootcamp Python Certificate Python Training ... The append() method appends an element to the end of the list....
๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ efficient way to append data to multiple lists
r/learnpython on Reddit: Efficient Way to Append Data to Multiple Lists
November 3, 2022 -

I am getting real-time rainfall data from an API and want to store the data in multiple lists. Each list represents a different location. There can be a varying number of different locations.

Below is what I have done so far. It sits in a while loop and works but seems to be very ineffcient.

Is there a better way?

r_1 = []
r_2 = []
r_3 = [] 
r_4 = [] 
r_5 = []
r_1.append(city_loc.rain[0].current_mm)
print(r_1)
r_2.append(city_loc.rain[1].current_mm) 
print(r_2) 
r_3.append(city_loc.rain[2].current_mm) 
print(r_3) 
r_4.append(city_loc.rain[3].current_mm) 
print(r_4) 
r_5.append(city_loc.rain[4].current_mm) 
print(r_5)

It doesn't have to use lists. What I ultimately want to do is to check the fluctuations (eg if r_1[-1] > 22 and r_1[-2] < 10) for each location as quickly as possible so if there is a better way please let me know.

Thanks

๐ŸŒ
Spark By {Examples}
sparkbyexamples.com โ€บ home โ€บ python โ€บ how to append numpy arrays examples
How to Append NumPy Arrays Examples - Spark By {Examples}
March 27, 2024 - You can use numpy.append() function to add an element in a NumPy array. You can pass the NumPy array and multiple values as arguments to the append() function.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ how-to-append-multiple-items-to-a-list-in-python
How to append multiple items to a list in Python
The extend() method allows you to add multiple elements from an iterable (e.g., a list, tuple, or another sequence) to the end of the original list. ... List concatenation involves two lists using the + operator to combine their elements and ...
๐ŸŒ
Delft Stack
delftstack.com โ€บ home โ€บ howto โ€บ python โ€บ append multiple elements python
How to Append Multiple Elements to List in Python | Delft Stack
February 2, 2024 - lst = [2, 4, 6, "python"] lst.append(6) print("The appended list is:", lst) ... Similarly, to add one more new value, we will use another append() method to add another new value after the value 6 in the list.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_arrays.asp
Python Arrays
Note: This page shows you how to use LISTS as ARRAYS, however, to work with arrays in Python you will have to import a library, like the NumPy library. Arrays are used to store multiple values in one single variable: