You are viewing a single comment's thread. Return to all comments →
Python Modify string s to lower case and eliminate white space. Add to a set() that cannot have a duplicate. Compare its size
def pangrams(s): # Write your code here s = set(''.join(s.lower().split())) return 'pangram' if len(s) == 26 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 →
Python Modify string s to lower case and eliminate white space. Add to a set() that cannot have a duplicate. Compare its size