Register Now

Login

Lost Password

Enter your email to reset your password.

A Data type is a classification of data/value stored in a variable. Data type may be mathematical, relational or logical operations.

By default, Python has following data types

Text types: str

Numeric Types: int, float, complex

Sequence Types: list, tuple, complex

Mapping Types: dict

Set Types: set, frozenset

Boolean Type: bool

Binary Tree: bytes, bytearray, memoryview

You can check the any data type using the type() function

Ex

X=4
Print(type(x))

Comment ( 1 )

  1. Deepak
    September 15, 2019 at 3:19 am

    Useful post