1 2 3 4 5 6 7 8
i=int (input ("enter the values of items:")) a=[1,2,3,4,5,6] if i in a: print("item is avoilable ") else: print("items unavoilable")
1 2 3 4
enter the values of items:Traceback (most recent call last): Line 2, in <module> i=int (input ("enter the values of items:")) EOFError