input: Write a function to print all the divisors of a given number. The function should take an integer input and return a list of its divisors. If the input number is 0, return an empty list.
  assert get_divisors(0)==[]
  assert get_divisors(6)==[1, 2, 3, 6]
  assert get_divisors(15)==[1, 3, 5, 15]
  assert get_divisors(28)==[1, 2, 4, 7, 14, 28]
  assert get_divisors(37)==[1, 37]
  assert get_divisors(-6)==[]
output: def get_divisors(n):
      if n == 0:
          return []
      divisors = []
      for i in range(1, abs(n) + 1):
          if n % i == 0:
              divisors.append(i)
      return divisors