Contact: aviboots(AT)netvision.net.il
41,655 questions
54,318 answers
573 users
def are_disjoint(a: str, b: str) -> bool: return set(a).isdisjoint(set(b)) print(are_disjoint("abc", "xyz")) # True (no common characters) print(are_disjoint("hello", "world")) # False ('o', 'l' in common) ''' run: True False '''