The complex numbers have two parts: real and imaginary. In which data type are real and imaginary parts represented
Answers
Answer:
In different computer languages different data types are used.
I can tell you about python.
Since everything is an object in Python programming, data types are actually classes and variables.
These variables are the instance of the classes.
Complex numbers are written in the form, x + yj, where x is the real part and y is the imaginary part.
Answer:
Explanation:
Among the various data types, Python numbers are one.
As the name suggests, the data types which store numeric values are called Python Numbers. Numeric data types are created as new objects when we assign a new numeric value to a variable.
There are three types of Python numbers.
1: Integers:
int – Plain Integers
long – Long integers for representing higher values
2: Floating point numbers
3: Complex numbers