You are viewing a single comment's thread. Return to all comments →
def pangrams(string): alphabet = list('abcdefghijklmnopqrstuvwxyz') if len(string) < len(alphabet): return 'not pangram' for s in string: s = s.lower() if s in alphabet: index = alphabet.index(s) alphabet.pop(index) if not alphabet: return 'pangram' 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 →