python see which type a variable is code example Example: check type of variable in python str = "Hello" type(str)