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