Data Types in Python
Numerical Data Type in General
First and foremost, we should get acquainted with numeric data types, which are supposed to be the most commonly used ones.
Numeric data types generally consist of three main, built-in types: int, float, and complex. By the way, 'built-in' means that Python can initially work with them, and we do not need to pre-define them. Just write int using Python.
int defines the integer value that you are used to using in regular, everyday life, for instance,
456566. Examples of floating-point numbers are like pi value
3.14159265359 and Euler number
2.71828. And an example for complex is
5 is the real part and
7j is the imaginary part of the number.