Advertisement
kscottz

Untitled

Aug 12th, 2011
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. def foo(a,b,c):
  2.     return a < b and b < c
  3.  
  4. myList = (1,2,3,4,5,6)
  5.  
  6. filter(foo(a=1,c=4),myList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement