input: Write a function to print all the divisors of a given number. The function should take an integer as input and print all numbers that divide the given number without leaving a remainder. If the input number is zero, the function should print an appropriate message indicating that zero has no divisors.
  assert print_divisors(10)==None
  assert print_divisors(24)==None
  assert print_divisors(1)==None
  assert print_divisors(0)==None
output: def print_divisors(n):
      if n == 0:
          print("Zero has no divisors")
          return
      for i in range(1, n + 1):
          if n % i == 0:
              print(i)