[ create a new paste ] login | about

Project: python
Link: http://python.codepad.org/i6gTRvI1    [ 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]
item=int(input("enter the iter integer:"))
    
if item in a:
    print("item is avoilable ")
else:
    print("items unavoilable")
 


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


Create a new paste based on this one


Comments: