input: 
  def find_divisors(num: int) -> list:
      """ Finds all the divisors of a given number.
      >>> find_divisors(10)
      [1, 2, 5, 10]
      >>> find_divisors(15)
      [1, 3, 5, 15]
      """
  
output:     divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors