LEARN MATE Request book Contact us quizes Books Home
Data types

The data types are:

  • Data types that are primitives:

    • Variables can hold values, and every value has a data-type. Python is a dynamically typed language; hence we do not need to define the type of the variable while declaring it. The interpreter implicitly binds the value with its type.
    • In programming, data type is an important concept. Variables can store data of different types, and different types can do different things. Python has the following data types built-in by default, in these categories:
    • Text Type: str
    • fNumeric Types: int, float, complex decimal digits
    • Sequence Types: list, tuple, range Mapping Type: dict Set Types: set, frozenset Boolean Type: bool Binary Types: bytes, bytearray, memoryview

Although these data types are a relatively small amount, they enable you to perform useful functions with your applications. and functions as procedures that your application can perform.