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
Logáil isteach chun stair na n-aighneachtaí a fheiceáil
Logáil isteachLogáil isteach chun an Meantóir IS a úsáid
Logáil isteachTests12
Visible tests
Tástáil fholaithe 7
Tástáil fholaithe 8
Tástáil fholaithe 9
Tástáil fholaithe 10
Tástáil fholaithe 11
Tástáil fholaithe 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