describe_type(value) that returns the name of the built-in type of value as a string (e.g. "int", "str", "list"). Use the built-in type() function rather than hardcoding checks.describe_type(42)
'int'
42 is an integer literal.
describe_type([1, 2])
'list'
A square-bracket literal is a list.
`type(value).__name__` gives the class name as a string.
Do not use isinstance chains — one line suffices.