• + 0 comments

    Python 3: 0(n)

    def pangrams(s):
       to_search = "abcdefghijklmnopqrstuvwxyz"
       s = s.lower()
       count = 0
    
       for i in to_search:
          if count == 26:
             break
          elif i in s:
             count += 1
       return "pangram" if count == 26 else "not pangram"