• + 0 comments
    def pangrams(string):
        alphabet = list('abcdefghijklmnopqrstuvwxyz')
        if len(string) < len(alphabet):
            return 'not pangram'
        for s in string:
            s = s.lower()
            if s in alphabet:
                index = alphabet.index(s)
                alphabet.pop(index)
            if not alphabet:
                return 'pangram'
        return 'not pangram'