1if value in list:
2 #do stuff
3
4#Also to check if it doesn't contain
5if value not in list:
6 #do stuff
1# app.py
2
3listA = ['Stranger Things', 'S Education', 'Game of Thrones']
4
5if 'Dark' in listA:
6 print("Yes, 'S Eductation' found in List : ", listA)
7else:
8 print("Nope, 'Dark' not found in the list")
9
1element_you_want_to_find in list_in_you_want_to_search
2Note: Don't forget to substitute both of that variables with the variables you want
3
4 Conclusion: Use the in operator