Computer Science
The complex numbers have two parts : real and imaginary. In which data type are real and imaginary parts represented ?
Python Data Handling
22 Likes
Answer
In Python, the real and imaginary parts of a complex number are represented as floating-point numbers.
Answered By
16 Likes
Related Questions
How many integer types are supported by Python? Name them.
How are these numbers different from one another (with respect to Python)? 33, 33.0, 33j, 33 + j
What will following code print?
str1 = '''Hell o''' str2 = '''Hell\ o''' print(len(str1) > len(str2))
How many string types does Python support? How are they different from one another?