Assume you are given a positive integer variable named n. Write Python code that creates a variable named even_count holding the number of even integers in the sequence 0, 1, 2, ..., n - 1 (the values produced by range(n)). Zero counts as even.
For example, when n is 5, the values are 0, 1, 2, 3, 4, of which 0, 2, and 4 are even, so even_count should be 3.