daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 55 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top