Skip to content

Instantly share code, notes, and snippets.

@p53ud0k0d3
Created March 19, 2015 15:18
Show Gist options
  • Save p53ud0k0d3/c0baf4f53663668582c5 to your computer and use it in GitHub Desktop.
Save p53ud0k0d3/c0baf4f53663668582c5 to your computer and use it in GitHub Desktop.
Pangrams
s = raw_input()
s = s.lower()
is_pangram = lambda s: not set('abcdefghijklmnopqrstuvwxyz') - set(s.lower())
if is_pangram(s) == True:
print "pangram"
else:
print "not pangram"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment