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
PostgreSQLv16

Aquí aparecerá el resultado de la ejecución del código

Visible tests
1
Input
"lumberjacks"
ExpectedTrue
2
Input
"isograms"
ExpectedFalse
3
Input
"eleven"
ExpectedFalse
4
Input
"six-year-old"
ExpectedTrue
5
Input
""
ExpectedTrue
6
Input
"Alphabet"
ExpectedFalse
Focus radio
Paused · SomaFM · Fluid