Python type() built-in function
Examples
>>> type('span')
# <class 'str'>
>>> type(99)
# <class 'int'>
>>> type(1.1)
# <class 'float'>
>>> type([1, 2])
# <class 'list'>
>>> type((1, 2))
# <class 'tuple'>
>>> type({1, 2})
# <class 'set'>
>>> type({'a': 1, 'b': 2})
# <class 'dict'>