Accessing List Elements
List elements are accessed by index.
Index error if index out of range both +ve and -ve:
Nested List
List can be:
L=[10, 20, 30, [15, 25, 35], 40]
Elements of nested list can be accessed by the index L[i][j][k]….
Accessing Nested List Elements