You are viewing a single comment's thread. Return to all comments →
Here is my Python solution using a Counter!
def pangrams(s): s = [letter.lower() for letter in s if letter.isalpha()] return "pangram" if len(Counter(s)) == 26 else "not pangram"
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Pangrams
You are viewing a single comment's thread. Return to all comments →
Here is my Python solution using a Counter!