Data types in Python A data type represents the type of data stored into a variable or memory. There are five main data types : Numeric String List Tuple Dictionary Note – Variables are the address in the memory where the values are stored. We can treat variable like a container where you can put or store something. Numeric Data Type The numeric data types are used to represent numbers. There are three sub data types : int f loat complex Int data type The int data type represents an integer number. An integer number are a number without any decimal point or fraction part. For example 200, -100, 67, 100000, etc. Integer uses 4 bytes to store a value. It can range from -2147483648 to 2147483647. Float data type The float data type represents floating point numbers. A floating point number is a number that contains a decimal point. Like 3.14, 34.45, -45.678, etc. Float uses 8 bytes to store a value. It can range from 2.3E-308 to 1.7E+308. ...
This blog is made specially for students those who have selected Computer Application (165) as a subject in CBSE board exam. It includes chapter wise notes, videos, assignments, etc.