Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- l = [True, False, False, True]
- def check_filter(l):
- if len([i for i in filter(None, l)]) > 1:
- return True
- return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement