You are viewing a single comment's thread. Return to all comments →
Here is one-liner:
print('pangram' if set([ord(letter) for letter in ''.join(input().lower().strip().split())]) == set(list(range(97, 123))) 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 →
Here is one-liner:
print('pangram' if set([ord(letter) for letter in ''.join(input().lower().strip().split())]) == set(list(range(97, 123))) else 'not pangram')