exercism/python/isogram/isogram.py

10 lines
219 B
Python
Raw Normal View History

2017-08-13 14:25:58 +00:00
def is_isogram(inp):
letList = []
for i in inp.lower():
if i.isalpha():
if not(i in letList):
letList.append(i)
else:
return False
return True