strings.is_isogram¶
wiki: https://en.wikipedia.org/wiki/Heterogram_(literature)#Isograms
Attributes¶
Functions¶
|
An isogram is a word in which no letter is repeated. |
Module Contents¶
- strings.is_isogram.is_isogram(string: str) bool ¶
An isogram is a word in which no letter is repeated. Examples of isograms are uncopyrightable and ambidextrously. >>> is_isogram(‘Uncopyrightable’) True >>> is_isogram(‘allowance’) False >>> is_isogram(‘copy1’) Traceback (most recent call last):
…
ValueError: String must only contain alphabetic characters.
- strings.is_isogram.input_str¶