Every Letter Check
A pangram is a sentence that uses every letter of the English alphabet at least once. This kind of check is useful when you want to know whether a text covers a full character set. Write is_pangram, which returns True if the string s is a pangram and False otherwise. Letter case does not matter.
Примеры
Ввод
"The quick brown fox jumps over the lazy dog."Вывод
TrueВвод
"This is not a pangram."Вывод
FalseВвод
"Pack my box with five dozen liquor jugs."Вывод
TrueНужно реализовать
def is_pangram(s: str) -> bool:
Теги
stringsset
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit seVisible tests
1
Input
"The quick brown fox jumps over the lazy dog."Expected
True2
Input
"This is not a pangram."Expected
False3
Input
"Pack my box with five dozen liquor jugs."Expected
True4
Input
""Expected
False5
Input
"abcdefghijklmnopqrstuvwxyz"Expected
True6
Input
" "Expected
FalseFocus radio
Paused · SomaFM · Fluid