mirror of
https://github.com/Xevion/exercism.git
synced 2026-01-31 10:24:15 -06:00
3 lines
142 B
Python
3 lines
142 B
Python
def is_isogram(string):
|
|
string = ''.join([c for c in string.casefold() if c not in ' -'])
|
|
return len(list(set(string))) == len(string) |