CBSE Class 11 Computer Science Question 74 of 173

Data Handling — Question 3

Back to all questions
3
Question

Question 3

How are these numbers different from one another (with respect to Python)? 33, 33.0, 33j, 33 + j

Answer

The number 33 is an integer whereas 33.0 is a floating-point number. 33j represent the imaginary part of a complex number. 33 + j is a complex number.

Answer