def evenNumOfOdds(L): count = 0 for num in L: if num % 2 != 0: count += 1 if count % 2 == 0: return True else: return False
print(evenNumOfOdds([1, 2, 3, 4, 5])) # True print(evenNumOfOdds([1, 2, 3, 4, 5, 6])) # False print(evenNumOfOdds([2, 4, 6])) # True print(evenNumOfOdds([1, 3, 5, 7, 9])) # False