check if value exists in list python

# app.py

listA = ['Stranger Things', 'S Education', 'Game of Thrones']

if 'Dark' in listA:
    print("Yes, 'S Eductation' found in List : ", listA)
else:
    print("Nope, 'Dark' not found in the list")

Here is what the above code is Doing:
1. We have a list of strings.
2. We are checking if the string ‘Dark’ is present in the list.
3. If it is present, we print a message saying that it is present.
4. If it is not present, we print a message saying that it is not present.