mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-06 13:15:00 -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) |