1thislist = ["apple", "banana", "cherry"]
2if "apple" in thislist:
3 print("Yes, 'apple' is in the fruits list")
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