python function to find in array 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