python data types and structures in this we are going to examine the python data types in detail we have already been introduced to two data typesthe stringstr()and list(it is often the case where we want more specialized objects to represent our data in addition to the built-in typesthere are several internal modules that allow us to address common issues when working with data structures firstwe are going to review some operations and expressions that are common to all data types operations and expressions there are number of operations that are common to all data types for exampleall data typesand generally all objectscan be tested for truth value in some way the following are values that python considers falsethe none type false an integerfloator complex zero an empty sequence or mapping an instance of user-defined class that defines __len__(or __bool__(method that returns zero or false all other values are considered true