You are viewing a single comment's thread. Return to all comments →
Python Solution
def pangrams(s): # Write your code here s = s.lower() letter_set = set(s) alphabet_set = set("abcdefghijklmnopqrstuvwxyz")
if alphabet_set.issubset(letter_set): return "pangram" else: return "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 →
Python Solution
def pangrams(s): # Write your code here s = s.lower() letter_set = set(s) alphabet_set = set("abcdefghijklmnopqrstuvwxyz")