Implement the Python function specified below. Return ONLY the indented function body, without repeating the…
Implement the Python function specified below. Return ONLY the indented function body, without repeating the…: a task in unslop-harbor (Harbor dataset). def odd count(lst): """Given a list of strings, where each string consists of only digits, return a list. Each element i of the output should be…
The task
def odd_count(lst): """Given a list of strings, where each string consists of only digits, return a list. Each element i of the output should be "the number of odd elements in the string i of the input." where all the i's should be replaced by the number of odd digits in the i'th string of the input.
Part of rawmodels/unslop-harbor.