find the place of element in list python

Solutions on MaxInterview for find the place of element in list python by the best coders in the world

showing results for - "find the place of element in list python"
Josefina
03 Jan 2020
1streaming = ['netflix', 'hulu', 'disney+', 'appletv+']
2
3index = streaming.index('disney+')
4print('The index of disney+ is:', index)