Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def is_isogram(s):
- s = s.lower()
- return len(set(s)) == len(s)
- print(is_isogram("Dermatoglyphics"))
- print(is_isogram("abold"))
- print(is_isogram("moOse"))
- print(is_isogram(""))
Advertisement
Add Comment
Please, Sign In to add comment