Vidyalelo
Python · Q14

MCQs for Python Data Types and Numeric Types Chapter

Programming · Python · question 14

Q14

What is the result of complex(3, 4) ?

A.
3
B.
4
C.
3 + 4i
Answer
D.
7

Answer: Option C

Solution

Answer: Option C
Solution:
The complex() function creates a complex number in the form real + imaginary.