human
Write me a Python program to get the dimenstions of objects.
assistant
Here is a Python program to get the dimenstions of objects

import numpy as np

def get_dimensions(obj):
    """
    Returns the dimensions of an object.
    """
    return obj.shape

# Enter the data
x = np.arange(10)
y = np.arange(10)

# Calling the function
print((get_dimensions(x)))

#Example Output
# (10,)

#Remember to inspect code for bugs.