Skip to content

Instantly share code, notes, and snippets.

@emres
Created November 22, 2010 14:17
Show Gist options
  • Save emres/710029 to your computer and use it in GitHub Desktop.
Save emres/710029 to your computer and use it in GitHub Desktop.
Python function to check if a given string is a pangram
from string import ascii_lowercase as al
def is_pangram(s):
return set(al) - set(s.lower()) == set([])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment