You are viewing a single comment's thread. Return to all comments →
def pangrams(s): for i in range(97,123): if chr(i) not in s.lower(): return 'not pangram' return 'pangram'
or
def pangrams(s): return 'pangram' if len(set(s.lower()+' '))==27 else 'not pangram'
def pangrams(s): h='abcdefghijklmnopqrstuvwxyz' for i in h: if i not in s.lower(): return 'not pangram' return '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 →
or
or