input: Write a function to print all the divisors of a given number. The function should take an integer as input and return a list of all the divisors of that number.
  assert divisors_of_number(12)==[1, 2, 3, 4, 6, 12]
  assert divisors_of_number(1)==[1]
  assert divisors_of_number(36)==[1, 2, 3, 4, 6, 9, 12, 18, 36]
  assert divisors_of_number(29)==[1, 29]
  assert divisors_of_number(0)==[]
output: def divisors_of_number(n):
      if n == 0:
          return []
      divisors = []
      for i in range(1, n + 1):
          if n % i == 0:
              divisors.append(i)
      return divisors