LIST PYTHON PROGRAMMING
stationery = ["pen","pencil","scale","eraser","marker"]
x = str(input("enter the item name x is :"))
print("The item is ",x)
if x in stationery:
print("The item is available in stationery")
else:
print("The item is not available in stationry")
OUTPUT:
enter the item name x is :1
The item is 1
The item is not available in stationry