Computer Science - Text-Based Programming - Python - Lists and list operations - Python Lists Deep Dive
6 steps. Step 1 'Creating Lists': fruits = ['apple', 'banana', 'cherry']. numbers = [1, 2, 3, 4, 5]. mixed = ['hello', 42, True, 3.14]. empty = []. Step 2 'Indexing': fruits[0]='apple', fruits[-1]='cherry', fruits[1:3]=['banana','cherry'] (slicing). Step 3 'Modifying': fruits.append('date') adds to