1.

Which of the following is not a complex number?(a) k = 2 + 3j(b) k = complex(2, 3)(c) k = 2 + 3l(d) k = 2 + 3JI have been asked this question during an online interview.I need to ask this question from Numeric Types in portion Variable Names, Operators, Data Types & Numeric Types of Python

Answer»

Right OPTION is (C) k = 2 + 3l

The EXPLANATION is: L (or L) stands for long.



Discussion

No Comment Found

Related InterviewSolutions