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