Source Code
thislist = [“apple”, “banana”, “cherry”, “orange”, “kiwi”, “melon”, “mango”]
item=input(“Enter the item for search : “)
if item in thislist:
print(“Item is found”)
else:
print(“Item does not exist in list”)
Output
Enter the item for search : melon
Item is found