input: 
  def print_factors(x):
      """
      This function takes a number and prints its factors
      
      :param x: The number whose factors to be printed 
      :return: None
      """
      
      print("The factors of",x,"are:")
      for i in range(1, x + 1):
          if x % i == 0:
              print(i)
              
  # Example usage:
  print_factors(20)  # Expected output: The factors of 20 are: 1 2 4 5 10 20
  
output:     print("The factors of",x,"are:")
      for i in range(1, x + 1):
          if x % i == 0:
              print(i)