from collection import Counter
counter = Counter({"book":1,"football":2,"light:"3})
list=["book","pen","light"]
for key in list:
if key in list(counter.keys()):
print("i am the list and the counter.")
else:
print("i am in the list Not in counter")