3

Python Arrays

Last Update Unknown

Lists

List: A list holds a collection of objects that is ordered and mutable. Lists are indexed and allow duplicate members. You can add, remove, modify list elements.

Creating a list:


We can access the data via an index:


Adding items to an existing list:

Inserting items into a list:

Removing an item from a list: