Pangram Check
A pangram is a sentence that contains all 26 lowercase letters of the English alphabet at least once. This kind of check can be useful for testing fonts, keyboards, or sample text. Write a function check_pangram that receives a lowercase English string sentence. Return True if it contains the whole alphabet, otherwise return False.
Примеры
Ввод
"thequickbrownfoxjumpsoverthelazydog"Вывод
TrueВвод
"leetcode"Вывод
FalseВвод
"abcdefghijklmnopqrstuvwxyz"Вывод
TrueНужно реализовать
def check_pangram(sentence: str) -> bool:
Теги
stringssethashmap
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
AccediVisible tests
1
Input
"thequickbrownfoxjumpsoverthelazydog"Expected
True2
Input
"leetcode"Expected
False3
Input
"abcdefghijklmnopqrstuvwxyz"Expected
True4
Input
"aaa"Expected
False5
Input
"the quick brown fox jumps over the lazy dog"Expected
True6
Input
""Expected
FalseFocus radio
Paused · SomaFM · Fluid