You are viewing a single comment's thread. Return to all comments →
Regex works wonders:
print ('pangram' if ''.join(sorted(set(re.findall(r'[a-z]', input().strip().lower())))) == 'abcdefghijklmnopqrstuvwxyz' 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 →
Regex works wonders: