You are viewing a single comment's thread. Return to all comments →
Python solution:
def pangrams(s): freq = [0] * 26 s = s.lower() for char in s: if char.isalpha(): freq[ord(char) - ord("a")] += 1 for i in range(len(freq)): if freq[i] == 0: return "not pangram" return "pangram"
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
Python solution: