Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python find index of an item in an array

x = ['p','y','t','h','o','n']
print(x.index('o'))
Source by pythonspot.com #
 
PREVIOUS NEXT
Tagged: #python #find #index #item #array
ADD COMMENT
Topic
Name
7+2 =