pangram.py

1
2
3
4
5
6
7
import string

LETTERS = set(string.lowercase)


def is_pangram(text):
    return set(text.lower()) >= LETTERS

@thegeek and @Eugene-1984 think this looks great

Comments

After seeing other solutions, decided I prefer the operator for this!

helenst commented 15 March 2016 at 09:32 UTC

You're not logged in right now. Please login via GitHub to comment