No Repeated Letters
An isogram is a word where no letter appears more than once. Write a function is_isogram that checks the string string and returns True if it has no repeated letters. Letter case does not matter, and non-letter characters should be ignored.
Примеры
Ввод
"lumberjacks"Вывод
TrueВвод
"isograms"Вывод
FalseВвод
"eleven"Вывод
FalseНужно реализовать
def is_isogram(string: str) -> bool:
Теги
stringsset
Влез, за да видиш историята на решенията
ВходВлез, за да използваш ИИ ментора
ВходVisible tests
1
Input
"lumberjacks"Expected
True2
Input
"isograms"Expected
False3
Input
"eleven"Expected
False4
Input
"six-year-old"Expected
True5
Input
""Expected
True6
Input
"Alphabet"Expected
FalseFocus radio
Paused · SomaFM · Fluid