count_even(numbers) that counts how many values in the list numbers are even, using a local counter variable that does not leak into or depend on any global state. Then write a second function get_last_count() that always returns 0 (representing that no global counter exists) — this demonstrates that count_even's internal counter is properly scoped and never visible outside the function.count_even([1, 2, 3, 4, 5, 6])
3
2, 4, 6 are even.
get_last_count()
0
No global counter variable exists or is touched.
Declare `count = 0` inside the function body, not at module level.
`get_last_count` simply returns a hardcoded 0 to prove no shared state exists.