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
Pieslēdzies, lai redzētu iesniegumu vēsturi
PieslēgtiesPieslēdzies, lai izmantotu AI mentoru
PieslēgtiesTests12
Visible tests
Slēptais tests 7
Slēptais tests 8
Slēptais tests 9
Slēptais tests 10
Slēptais tests 11
Slēptais tests 12
They run when you press "Submit" — your whole solution is checked against them so you can't hard-code answers for the visible cases.
Focus radio
Paused · SomaFM · Fluid