find item in array in python code example
Example: how to find an item in an array in python
array = ['hello','people','i','want','icecream']
print(x.index('people'))
-> 1
array = ['hello','people','i','want','icecream']
print(x.index('people'))
-> 1