Hey guys I need some help, I keep on getting a "list index out of range" error even though the index is in range I even wrote a piece of code to print the intext for the word I'm referring to which is 'horror' and it confirms its in index 2 but when I put it under a if statement it gives me the error.
genre = input('What genre do you feel like watching?\n''horror\n''psychological horror\n''adventure\n''action\n''Enter one of the genre seen above here: ')
for item in anime_series_list:
if item[0] == genre:
print(''.join(anime_series_list[0]))
if item[2] == genre:
print(''.join(anime_series_list[2]))
if item[1] == genre:
print(''.join(anime_series_list[1]))
else:
print('INVALID OPTION')
break'''