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
What are data types in Python? How are they important?
How many integer types are supported by Python? Name them.
The complex numbers have two parts : real and imaginary. In which data type are real and imaginary parts represented ?
How many string types does Python support? How are they different from one another?