python function for find the index of an element code example
Example 1: python index of item in list
list.index(element)
Example 2: how to find an element in a list python
# app.py
streaming = ['netflix', 'hulu', 'disney+', 'appletv+']
index = streaming.index('disney+')
print('The index of disney+ is:', index)