What is type in Python?

type() method returns class type of the argument(object) passed as parameter . type() function is mostly used for debugging purposes. Two different types of arguments can be passed to type() function, single and three argument. If single argument type(obj) is passed, it returns the type of given object.

Read more