Guest User

Untitled

a guest
Jan 12th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def has_any(sub_list=[], main_list=[]):
  2. if type(main_list) == type(sub_list):
  3. for item in sub_list:
  4. if item in main_list:
  5. return True
  6. return False
Add Comment
Please, Sign In to add comment