• + 0 comments
    # Pangrams 🔤
    def pangrams(s):
        alphabet = set('abcdefghijklmnopqrstuvwxyz')
        i = 0
        length = len(s)
        while len(alphabet) > 0 and i < length:
            alphabet.discard(s[i].lower())
            i+=1
        return "pangram" if len(alphabet) == 0 else "not pangram"