input: def compute_value(s: str) -> int:
      """
      Given a string s, the value is calculated by summing the absolute differences of ASCII values between each pair of consecutive characters.
  
      Return the computed value of s.
  
      Examples:
      >>> s = "hello"
      13
      >>> s = "zaz"
      50
  
      Constraints:
      2 <= s.length <= 100
      s contains only lowercase English alphabet letters.
      """
output:     total_value = 0
      for i in range(1, len(s)):
          total_value += abs(ord(s[i]) - ord(s[i-1]))
      return total_value