how to check type of variable in python without built-in code example Example: check type of variable in python str = "Hello" type(str)