Contact: aviboots(AT)netvision.net.il
39,914 questions
51,847 answers
573 users
str1 = "acdgjln" str2 = "bcefglmd" print(set(str1) | set(str2)) # letters in str1 or str2 or both ''' run: {'d', 'n', 'a', 'e', 'j', 'l', 'f', 'm', 'b', 'c', 'g'} '''