Data structure
09 November 2025 11:55 AM
[Link] [gives real part]
[Link] [gives imag part]
>>>a=4+7j
>>>[Link]
4.0
>>>[Link]
7.0
In python the real and imaginary part will be
shown in float data type in complex.
The default value of Singel Value Data structure
>>>int()
0
>>>float()
0.0
>>>bool()
False
>>>complex()
0j
New Section 1 Page 1