input: from typing import List
  
  def create_3_layer_nn(input_layer: List[float], hidden_layer: List[List[float]], output_layer: List[float]) -> float:
      """ Create a 3-layer artificial neural network using Python and return the outcome.
      >>> create_3_layer_nn([2, 3], [[0.1, 0.4], [0.8, 0.6], [0.3, 0.9]], [0.3, 0.7])
      0.65
      """
      import numpy as np
      input_layer = np.array(input_layer)
      hidden_layer = np.array(hidden_layer)
      output_layer = np.array(output_layer)
      
      hidden_layer_output = np.dot(input_layer, hidden_layer)
      output = np.dot(hidden_layer_output, output_layer)
      
      return float(output)
output:     import numpy as np
      input_layer = np.array(input_layer)
      hidden_layer = np.array(hidden_layer)
      output_layer = np.array(output_layer)
      
      hidden_layer_output = np.dot(input_layer, hidden_layer)
      output = np.dot(hidden_layer_output, output_layer)
      
      return float(output)