forked from tdwojak/Python2017
done
This commit is contained in:
parent
b752749511
commit
cc6da701e2
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user