1
0
forked from tdwojak/Python2017
This commit is contained in:
s45158 2017-11-25 13:22:57 +01:00
parent b752749511
commit cc6da701e2

View File

@ -9,7 +9,13 @@ Oba napisy będą składać się wyłacznie z małych liter.
"""
def common_chars(string1, string2):
pass
txt1 = string1.replace(' ','')
txt2 = string2.replace(' ','')
return list(''.join(sorted(set(txt1) & set(txt2))))
def tests(f):