Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get first element of array in python

arr = ["cat", "dog", "rabbit"]
first_element = arr[0]
 
PREVIOUS NEXT
Tagged: #element #array #python
ADD COMMENT
Topic
Name
9+3 =