
Implement clean_tags, which returns the tags of tags trimmed and in lowercase, without the ones that end up empty.
clean_tags([" Garden ", "DIY", "\tSlow Cooking\n"])['garden', 'diy', 'slow cooking']clean_tags(["Board Games", " ", "", "board games", "\n"])['board games', 'board games']clean_tags([])[]clean_tags.py
Run the tests to grade your code
Implement clean_tags, which returns the tags of tags trimmed and in lowercase, without the ones that end up empty.
clean_tags([" Garden ", "DIY", "\tSlow Cooking\n"])['garden', 'diy', 'slow cooking']clean_tags(["Board Games", " ", "", "board games", "\n"])['board games', 'board games']clean_tags([])[]clean_tags.py
Run the tests to grade your code
Variables will appear here