You are viewing a single comment's thread. Return to all comments →
Python
def pangrams(s): alphabet={} for i in s.lower(): if i.isalpha() and i in alphabet: alphabet[i]+=1 elif i.isalpha() and i not in alphabet: alphabet[i]=0 if len(alphabet)==26: return "pangram" else: return "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 →
Python