Interview Guides
Given an array of numbers nums, return its arithmetic mean without using built-in functions such as sum() or len(). Traverse the array manually, compute the total and the number of elements, and return the average as a float. If the array is empty, return None.