input: from typing import List
  
  
  def get_divisors(num: int) -> List[int]:
      """Given a number, return a list of all its divisors.
      >>> get_divisors(12)
      [1, 2, 3, 4, 6, 12]
      >>> get_divisors(7)
      [1, 7]
      """
      divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors
output:     divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors