code: def clamp(inclusive_lower_bound: int,
            inclusive_upper_bound: int,
            value: int) -> int:
      
      if value <= inclusive_lower_bound:
          return inclusive_lower_bound
      elif value >= inclusive_upper_bound:
          return inclusive_upper_bound
      else:
          return value
docs: Bound the given ``value`` between ``inclusive_lower_bound`` and
      ``inclusive_upper_bound``.