input: Write a function that takes a number as input and prints all the divisors of that number. Return the list of divisors.
  assert print_divisors(10)==[1, 2, 5, 10]
  assert print_divisors(16)==[1, 2, 4, 8, 16]
  assert print_divisors(7)==[1, 7]
  assert print_divisors(1)==[1]
  assert print_divisors(0)==[]
output: def print_divisors(n):
      if n == 0:
          return []
      divisors = [i for i in range(1, n + 1) if n % i == 0]
      return divisors