input: Write a python function to calculate the total hours between consecutive timestamps.
  assert total_hours([1577296930, 1577297490, 1577299030]) == 3.33
  assert total_hours([1609459200, 1609466400, 1609473600]) == 4.0
  assert total_hours([1614556800, 1614560400, 1614564000]) == 2.0
output: def total_hours(timestamps):
      total_seconds = sum(timestamps[i+1] - timestamps[i] for i in range(len(timestamps) - 1))
      total_hours = total_seconds / 3600
      return round(total_hours, 2)