Python 3.3 - Datatypes in Python
Datatypes in Python As we have already discussed that data type refers to the type of data. So datatype implies that what type of data we can store in our Python program. There are two categories of datatypes available in Python – Built-in data types and User defined data types Built-in data types The data types which are pre-defined in Python are called built-in data types. These data types have already been developed by Python developer team which we can use directly. So we do not need to do anything in it. Following are built-in data types – · None · Numbers · Boolean · Sequences · Sets · Dictionary These datatypes are further classified in some more datatypes. Observe the image below – 1. The None Type The None Type represents no value. When we have no value to store in a variable or object then we can store None into that variable. There might be a case when we will need a value in a variable late