Lists Operations
Learn how to work with lists including accessing elements by index, finding elements, and list modification.
Lists and indexes
Lists allow elements to be retrieved by their index, which is a number that represents the element’s position. The index of the first element is always 0, and each next element in the list has the next index. We can imagine a list to be like an infinite shelf for items, where there is a label with a number below each item.
Get hands-on with 1200+ tech skills courses.