5 lines
188 B
Python
5 lines
188 B
Python
from collections import Counter
|
|
|
|
def is_pangram(sentence):
|
|
counter = Counter([ch.lower() for ch in sentence if ch.isalpha()])
|
|
return len(counter.keys()) == ord('z') - ord('a') + 1
|