human
Give me a Python code to get dimensions of list.
assistant
Here is a Python code to get dimensions of list

import numpy as np

def _get_list_dimensions(list):
    """Return the dimensions of the list.

    """
    return len(list), len(list[0])

# Enter the list
list = np.array([[1, 2], [3, 4], [5, 6]])

# Calling the function
print((_get_list_dimensions(list)))

#Example Output
# (3, 2)

#Remember to inspect code for bugs.