Full Alphabet Check
A pangram is a string that contains every letter of the Latin alphabet, often used to test fonts and keyboards. The function is_pangram receives a string s and checks whether it contains all 26 Latin letters at least once. Letter case does not matter, so A and a count as the same letter.
Примеры
Ввод
["The quick brown fox jumps over the lazy dog"]Вывод
TrueВвод
["Hello world"]Вывод
FalseВвод
["Pack my box with five dozen liquor jugs"]Вывод
TrueНужно реализовать
def is_pangram(s: str) -> bool:
Теги
stringsset
Inicia sesión para ver tu historial de envíos
Iniciar sesiónInicia sesión para usar el AI Mentor
Iniciar sesiónVisible tests
1
Input
"The quick brown fox jumps over the lazy dog"Expected
True2
Input
"Hello world"Expected
False3
Input
"Pack my box with five dozen liquor jugs"Expected
True4
Input
"abcdefghijklmnopqrstuvwxyz"Expected
True5
Input
"The quick brown fox"Expected
False6
Input
""Expected
FalseFocus radio
Paused · SomaFM · Fluid