daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top