KnowledgeBoat Logo

Computer Science

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

Python Data Handling

17 Likes

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.

Answered By

11 Likes


Related Questions