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
1def search(lst, x):
2 if not x in lst:
3 return False
4 return True
5
6
7if __name__ == "__main__":
8 lst = [1, 2, 3, 4, 5]
9 print(search(lst, 2))
10 print(search(lst, 6))
11
1'''
2 check if list1 contains all elements in list2
3'''
4result = all(elem in list1 for elem in list2)
5if result:
6 print("Yes, list1 contains all elements in list2")
7else :
8 print("No, list1 does not contains all elements in list2"