Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def foo(a,b,c):
- return a < b and b < c
- myList = (1,2,3,4,5,6)
- filter(foo(a=1,c=4),myList)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement