---

How to Add Elements to a List in Python

The Python list data type has three methods for adding elements: append(), extend(), and insert().

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis