Solaojo's Posts
Nairaland Forum › Solaojo's Profile › Solaojo's Posts
1 (of 1 pages)
``` def is_isogram(word): if type(word) != str: raise TypeError('Argument should be a string') elif word == "": return (word, False) else: word = word.lower() for char in word: if word.count(char) > 1: return (word, False) else: return (word, True) ``` Anyone with a clue why this is refusing to submit. |
1 (of 1 pages)