Whole Alphabet Check

A pangram is a phrase that contains all 26 Latin letters at least once. The function pangrams receives a string s; letter case does not matter, and spaces can simply be ignored. Return pangram if the string contains the whole alphabet, otherwise return not pangram.

Примеры

Ввод
"We promptly judged antique ivory buckles for the next prize"
Вывод
"pangram"
Ввод
"We promptly judged antique ivory buckles for the prize"
Вывод
"not pangram"
Ввод
"The quick brown fox jumps over the lazy dog"
Вывод
"pangram"

Нужно реализовать

def pangrams(s: str) -> str:

Теги

stringssethashmap
PostgreSQLv16

Aici va apărea rezultatul execuției codului

Visible tests
1
Input
"We promptly judged antique ivory buckles for the next prize"
Expected"pangram"
2
Input
"We promptly judged antique ivory buckles for the prize"
Expected"not pangram"
3
Input
"The quick brown fox jumps over the lazy dog"
Expected"pangram"
4
Input
"abc"
Expected"not pangram"
5
Input
"Abcdefghijklmnopqrstuvwxyz"
Expected"pangram"
6
Input
"ab"
Expected"not pangram"
Focus radio
Paused · SomaFM · Fluid