McqMate
Q. |
What is the output of the function complex()? |
A. | 0j |
B. | 0+0j |
C. | 0 |
D. | error |
Answer» A. 0j | |
Explanation: the complex function returns 0j if both of the arguments are omitted, that is, if the function is in the form of complex() or complex(0), then the output will be 0j. |
View all MCQs in
Problem Solving and Python Programming