human
Give me a Python function to get the last row of a list in 2 rows.
assistant
Here is a Python function to get 2 last rows of a list

import numpy as np

def get_last_two_rows(list):
    """Returns the last two rows of a list."""
    return list[-2:]

# Enter the array
a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((get_last_two_rows(a)))

#Example Output
# [ 9 10]

#Remember to inspect code for bugs.