input: Write a python function to predict the next value in a sequence by calculating the average of the current values.
  assert predict_next_value([7, 3, 5, 9, 4]) == 6.0
  assert predict_next_value([1, 2, 3, 4, 5]) == 3.0
  assert predict_next_value([10, 20, 30, 40, 50]) == 30.0
output: def predict_next_value(sequence):
      return sum(sequence) / len(sequence)