title: How to check if string is a pangram?
body: <p>I want to create a function which takes a string as input and check whether the string is pangram or not (pangram is a piece of text which contains every letter of the alphabet).</p>
  
  <p>I wrote the following code, which works, but I am looking for an alternative way to do it, hopefully a shorted way.</p>
  
  <pre><code>import string
  
  def is_pangram (gram):
      gram = gram.lower()
      gram_list_old = sorted([c for c in gram if c != ' '])
      gram_list = []
      for c in gram_list_old:
          if c not in gram_list:
              gram_list.append(c)
      if gram_list == list(string.ascii_lowercase): return True
      else: return False
  </code></pre>
  
  <p>I feel like this question might be against the rules of this website but hopefully it isn't. I am just curious and would like to see alternative ways to do this.</p>