input: Write a function to print all divisors of a given number provided by the user. The function should prompt the user to enter a number, then it calculates and prints all the divisors of the number in a comma-separated list.
  
  def print_divisors():
      divisors = []
      num = int(input('Enter a number: '))
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      print('The divisors of', num, 'are:', sep=' ')
      print(*divisors, sep=', ')
  
  assert print_divisors(prompt_input=10) == print('The divisors of 10 are:', '1, 2, 5, 10')
  assert print_divisors(prompt_input=17) == print('The divisors of 17 are:', '1, 17')
  assert print_divisors(prompt_input=15) == print('The divisors of 15 are:', '1, 3, 5, 15')
  assert print_divisors(prompt_input=1) == print('The divisors of 1 are:', '1')
  assert print_divisors(prompt_input=0) == print('The divisors of 0 are:', '0')
output: def print_divisors():
      divisors = []
      num = int(input('Enter a number: '))
      for i in range(1, num + 1):
          if num % i == 0:
              divisors.append(i)
      print('The divisors of', num, 'are:', sep=' ')
      print(*divisors, sep=', ')