input: 
  from typing import List
  
  def find_divisors(num: int) -> List[int]:
      """
      Find all divisors of a given number.
      
      >>> find_divisors(10)
      [1, 2, 5, 10]
      >>> find_divisors(17)
      [1, 17]
      """
      divisors = []
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      return divisors
  
  # Example usage:
  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