Given that an "even word" is a word in which each character appears an even number of times, write a function that takes in a string and returns the minimum number of letters to be removed to make that string an even word.
even_word('aaaa') == 0
even_word('potato') == 2
even_word('aabbbb') == 0
even_word('aaabbbccc') == 3
- Fork and clone this lab
- Implement the
even_word
function ineven_word.py
such that all your tests pass. - Open a PR