Write a function to calculate the average of a Python list of integers.
numbers = [2, 4, 5, 7, 8]
def calculate_average(numbers):
  return sum(numbers)/len(numbers)

numbers = [2, 4, 5, 7, 8]
print(calculate_average(numbers)) # Output: 5.6