mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-06 01:14:56 -06:00
isogram fix
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
def is_isogram(string):
|
||||
string = ''.join([c for c in string.casefold() if c not in ' -'])
|
||||
return len(list(set(string))) == len(string)
|
||||
Reference in New Issue
Block a user