code: def zeroed_observation(observation):
      
      if hasattr(observation, 'shape'):
          return np.zeros(observation.shape)
      elif hasattr(observation, '__iter__'):
          out = []
          for x in observation:
              out.append(zeroed_observation(x))
          return out
      else:
          return 0.
docs: Return an array of zeros with same shape as given observation
  
      # Argument
          observation (list): List of observation
      
      # Return
          A np.ndarray of zeros with observation.shape