This lesson shows how to get elements from an array using indexing and slicing. Indexing uses a single number to get one element, starting at zero. Slicing uses two numbers separated by a colon to get a sub-array from the start index up to but not including the end index. The example array has five numbers. Accessing arr[2] returns the third element, 30. Slicing arr[1:4] returns elements at indices 1, 2, and 3, which are 20, 30, and 40. Slicing is safe even if the end index is beyond the array length. These operations help you pick and use parts of your data easily.