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
Prisijunkite, kad matytumėte pateikimų istoriją
PrisijungtiPrisijunkite, kad naudotumėte DI mentorių
PrisijungtiTests12
Visible tests
Paslėptas testas 7
Paslėptas testas 8
Paslėptas testas 9
Paslėptas testas 10
Paslėptas testas 11
Paslėptas testas 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