DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to find an item in an array in python
array = ['hello','people','i','want','icecream'] print(x.index('people')) -> 1
PREVIOUS
NEXT
Tagged:
#find
#item
#array
#python
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit