Video courses for company/skill based Preparation
Purchase mock tests for company/skill building
Ranges of Data Types in Python
Range of Data Types :
Data types are the classification of data items. It represents that kind of value which tells what operations can be performed on a particular data type.Everything is an object in Python programming, data types are actually classes and variables are instance of these classes.
- Integer – 4, 5 ,6
- Float – 3.22 , 0. 0111
In python , value of an integer/float is not fixed and it can be as large as possible until our memory has some space to accomodate it. So we never need any special keyword for large integer or float like c/c++ have.
Hence python 3 has only integer and float , but in python 2.7 there was two types of integer ‘int’ and ‘Long int’.
X is = 99999999999999999999999999999999999999999999999999999999999999999999999
Y is = 1e-69