Source code for kyu_7.isograms.is_isogram

#  Created by Egor Kostan.
#  GitHub: https://github.com/ikostan
#  LinkedIn: https://www.linkedin.com/in/egor-kostan/


[docs]def is_isogram(string: str) -> bool: """ Determines whether a string that contains only letters is an isogram :param string: str :return: bool """ return len(set(string.lower())) == len(string)