input: 
  def find_divisors(num: int) -> List[int]:
      """Takes a number and returns a list of its divisors.
      >>> find_divisors(12)
      [1, 2, 3, 4, 6, 12]
      >>> find_divisors(7)
      [1, 7]
      """
      divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors
  
  num = int(input('Enter a number: '))
  divisors = find_divisors(num)
  print('The divisors of', num, 'are:')
  print(*divisors, sep=', ')
  
output:     
      divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors
  