Data can be of many types e.g., character, integer, real, string, etc. Numbers without fractions represent integer data.
Number datatypes are used to store numeric values in python. Number datatypes in python have the following core datatype:-
- Floating point number
- Complex numbers
Integers are the whole number such as 3, 10, 45, etc. They have no fractional parts. Integers in python 3.x can be of any length, it is only limited to memory available. It is represented by ‘int’ in python.