KnowledgeBoat Logo
|

Informatics Practices

Which of the following does not represent a complex number?

  1. K = 2 + 3j
  2. K = complex(2,3)
  3. K = 2 + 3i
  4. K = 4 + 3j

Python Funda

1 Like

Answer

K = complex(2,3)

Reason — Complex numbers are made up of pairs of real and imaginary numbers. They take the form 'x+yj' or 'x+yi', where x is the real part and y is the imaginary part. Therefore, according to this, K = complex(2,3) is not a complex number.

Answered By

1 Like


Related Questions