NUMERIC DATA TYPES IN PYTHON ?
What is an Data type ?
A data type which tells the programming language that what type of data a variable stores and the what type of operations can be performed on the data.
WHAT ARE NUMERIC DATA TYPES IN PYTHON ?
INTRODUCTION:
Among the different data types available in python the numeric data types are especially important because of the numbers and which are widely used in calculations.
Get Nithinkumarn’s stories in your inbox
Join Medium for free to get updates from this writer.
python mainly provides the three built-in numeric data types:
- Integer(int)
- Floating-point number(float)
- Complex number(complex)
- Integer(int): An integer is an whole numbers that does not contain a decimal point.
Integers can be:
- positive
- Negative
- zero
python integers can also represent very large numbers, limited mainly by the available memory .
2.Floating-Point(float): A float represents a number containing a decimal point. floating values are useful when need to represent values that are not the whole numbers.
3.Complex(complex): A complex number contains two parts
- Real part
- Imaginary part
python will represents the imaginary part by using the j this is about the complex numbers.
CONCLUSION:
In which numeric data types are one of the fundamental concepts in python programming. The three main numeric types- will allow the programmers to work with the different kinds of numerical values.






