How would you calculate the average of a list of integers when the list includes positive and negative values?
Implement calculate_average(nums), which accepts a non-empty list of integers and returns its arithmetic mean as a floating-point number. The result should be computed as the sum of all values divided by the number of values.
def calculate_average(nums):