Pangrams

  • + 0 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'