Types How to check the type of a variable in Python? How to check if a variable points to an object of an integer type? How to check type of a literal? What is operator is used for? if x = "str", what would be the result of x is str?