python get first element in list code example
Example 1: get first element of array python
some_array[0]
Example 2: how to find first element in a list python
an_array = [1,2,3,4,5]
first element = an_array[0]
some_array[0]
an_array = [1,2,3,4,5]
first element = an_array[0]