<human>:  get the name of an object as string.
<bot>: Here is a Python function to get the name of an object as string

import sys

def get_name(obj):
  """Returns the name of an object as a string."""
  return obj.__class__.__name__

# Enter the object
obj = "hello"

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

#Example Output
# str

#Remember to inspect code for bugs.