[ create a new paste ] login | about

Project: python
http://www.fedecarg.com
Language:
Description:
Python Code Snippets

Recent Pastes:

Python, pasted 18 minutes ago:
1
usestacks()
view (2 lines, 4 lines of output)
Python, pasted 18 minutes ago:
1
usestack()
view (1 line, 4 lines of output)
Python, pasted 35 minutes ago:
1
2
3
4
5
i=int (input ("enter the values of items:")
a=[1,2,3,4,5,6]
    
if i in a:
    print("item is avoilable ")
...
view (8 lines, 4 lines of output)
Python, pasted 36 minutes ago:
1
2
3
4
i=int (input ("enter the values of items:"))
a=[1,2,3,4,5,6]
    
if i in a:
...
view (9 lines, 4 lines of output)
Python, pasted 36 minutes ago:
1
2
3
4
5
a=[1,2,3,4,5,6,7,8,9]
i=int (input ("enter the values of items:"))
    
if i in a:
    print("item is avoilable ")
...
view (8 lines, 4 lines of output)
Python, pasted 37 minutes ago:
1
2
3
4
5
a=[1,2,3,4,5,6,7,8,9]
i=4
    
if i in a:
    print("item is avoilable ")
...
view (8 lines, 1 line of output)
Python, pasted 37 minutes ago:
1
2
3
4
5
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 ")
...
view (8 lines, 4 lines of output)
Python, pasted 38 minutes ago:
1
2
3
4
5
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 ")
...
view (8 lines, 4 lines of output)
Python, pasted 39 minutes ago:
1
2
3
4
5
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 ")
...
view (8 lines, 4 lines of output)
Python, pasted 39 minutes ago:
1
2
3
4
5
if __name__=="__main__":
    
    a=[1,2,3,4,5,6,7,8,9]
    item=int(input("enter the iter integer:"))
    
...
view (10 lines, 4 lines of output)
Python, pasted 42 minutes ago:
1
2
3
4
5
if __name__=="__main__":
    
    a=[1,2,3,4,5,6,7,8,9]
    item=int(input("enter the iter integer:"))
    c= binarysearch(item,a)
...
view (10 lines, 4 lines of output)
Python, pasted 44 minutes ago:
1
2
3
4
5
if __name__=="__main__":
    a=[1,2,3,4,5,6,7,8,9]
    item=int(input("enter the iter integer:"))
    c= binarysearch(item,a)
    if c:
...
view (9 lines, 4 lines of output)