input: def bitwise_convert(x: int) -> int:
      """ Convert a positive integer to negative or vice versa using bitwise NOT operator.
      >>> bitwise_convert(5)
      -5
      >>> bitwise_convert(-5)
      5
      """
      return ~x + 1 if x > 0 else ~(x - 1)
output:     return ~x + 1 if x > 0 else ~(x - 1)