Files
exercism/python/pangram/pangram.py
2019-07-13 04:16:23 -05:00

7 lines
200 B
Python

import string
charset = string.ascii_lowercase
def is_pangram(sentence):
dictionary = {char : True if char in sentence.lower() else False for char in charset}
return all(dictionary.values())