human
how to return the type of an object.
assistant
Here is a Python function to return the type of an object

import numpy as np

def _get_type(obj):
    """
    Return the type of an object.
    """
    return type(obj)

# Enter the object
obj = "lilly"

# Calling the function
print((_get_type(obj)))

#Example Output
# <class 'str'>

#Remember to inspect code for bugs.