You are viewing a single comment's thread. Return to all comments →
3 lines for me:
s = raw_input().strip()
s = set(filter(lambda x: x.isalpha(), s.lower()))
print 'pangram' if len(s) == 26 else 'not pangram'
Pangrams
You are viewing a single comment's thread. Return to all comments →
3 lines for me:
s = raw_input().strip()
s = set(filter(lambda x: x.isalpha(), s.lower()))
print 'pangram' if len(s) == 26 else 'not pangram'