Guest User

Untitled

a guest
Jun 19th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. def all_contain(iterables, value):
  2. """
  3. Returns True if all iterables contain a value.
  4. """
  5. for it in iterables:
  6. if not value in it:
  7. return False
  8. return True
Add Comment
Please, Sign In to add comment