[ create a new paste ] login | about

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

Python, pasted on May 27:
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")
 


Output:
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


Create a new paste based on this one


Comments: