You are viewing a single comment's thread. Return to all 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"
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 →