0 out of 464 challenges solved

Check Even Indices for Even Numbers

Write a Python function `even_position` that checks whether every even index in a given list contains an even number. The function should return `True` if all even indices contain even numbers, and `False` otherwise.

#### Example Usage
```python [main.nopy]
print(even_position([2, 3, 4, 5]))  # Output: True
print(even_position([1, 2, 3, 4]))  # Output: False
print(even_position([0, 1, 2, 3]))  # Output: True
```

#### Constraints
- The input list will contain integers only.
- The list can be empty, in which case the function should return `True` (as there are no indices to check).
def even_position(nums):
    """
    Check if every even index in the list contains an even number.

    Args:
    nums (list): A list of integers.

    Returns:
    bool: True if all even indices contain even numbers, False otherwise.
    """
    # Placeholder for the solution
    pass