Python has a built-in function called type() that helps you find the class type of the variable given as input . For example, if the input is a string, you will get the output as <class ‘str’>, for the list, it will be <class ‘list’>, etc.26 Şub 2022