input: Write a python function to reduce a number by repeatedly subtracting 1 until it reaches 0.
  assert reduce_number(5) == -1
  assert reduce_number(10) == -5
  assert reduce_number(0) == 0
output: def reduce_number(num):
      while num > 0:
          num -= 1
      return num - 1