input: Write a function to take a number and print all the divisors of the given number. Return a list of divisors for the given number. If the number is negative or zero, return an empty list.
  def get_divisors(num):
      divisors = []
      if num <= 0:
          return divisors
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors
  
  assert get_divisors(12)==[1, 2, 3, 4, 6, 12]
  assert get_divisors(15)==[1, 3, 5, 15]
  assert get_divisors(0)==[]
  assert get_divisors(-5)==[]
output: def get_divisors(num):
      divisors = []
      if num <= 0:
          return divisors
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors