isogram fix

This commit is contained in:
Xevion
2019-07-13 04:27:11 -05:00
parent 335aa1a0a1
commit 27a0fb93b7

View File

@@ -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)