<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_nn(self, structure, n):
 """ Get near neighbors of site with index n in structure. Args: structure (Structure):
 input structure. n (integer):
 index of site in structure for which to determine neighbors. Returns: sites (list of Site objects):
 near neighbors. """


        return [e['site'] for e in self.get_nn_info(structure, n)]