mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-07 16:07:06 -06:00
'init'
This commit is contained in:
6
python/pangram/pangram.py
Normal file
6
python/pangram/pangram.py
Normal file
@@ -0,0 +1,6 @@
|
||||
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())
|
||||
Reference in New Issue
Block a user