How to read first element of a list in Python
To get the first element of a list in python, type the name of the list and the zero index in square brackets.
The first element of a list always has index zero.
Create a list with four elements.
>>> color=['blue', 'red', 'green', 'yellow']
Get the first element of the list
The output result is
Python reads the top element of the list.