[ create a new paste ] login | about

Project: python
Link: http://python.codepad.org/i9HwpQO1    [ raw code | output | fork ]

Python, pasted on May 27:
1
2
3
4
5
6
7
8
a=[1,2,3,4,5,6,7,8,9]
i=int(input("enter the item values:"))
    
if i in a:
    print("item is avoilable ")
else:
    print("items unavoilable")
 


Output:
1
2
3
4
enter the item values:Traceback (most recent call last):
  Line 2, in <module>
    i=int(input("enter the item values:"))
EOFError


Create a new paste based on this one


Comments: