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
PostgreSQLv16

Le résultat de l'exécution du code s'affichera ici

Visible tests
1
Input
"thequickbrownfoxjumpsoverthelazydog"
ExpectedTrue
2
Input
"leetcode"
ExpectedFalse
3
Input
"abcdefghijklmnopqrstuvwxyz"
ExpectedTrue
4
Input
"aaa"
ExpectedFalse
5
Input
"the quick brown fox jumps over the lazy dog"
ExpectedTrue
6
Input
""
ExpectedFalse
Focus radio
Paused · SomaFM · Fluid