What should the below code print?
print type(1J)
Answers
Answered by
0
Answer:
<type 'complex'>
Explanation:
Answered by
0
<class 'complex'> should the below code print type(1J)
Explanation:
- An imaginary literal yields a complex number with a real part of 0.0.
- Complex numbers are expressed as a combination of floating-point numbers and possess the equivalent restrictions on their scope.
- To build a complex number with a nonzero real part, combine a floating-point number to it, e.g., (3+4j).
- No literal endures for forming a complex number with non-zero real and imaginary parts.
- In other terms, 1j is a unique case, and there's nothing you can do to obtain 1z task as 1j does.
Learn more on python code:
https://brainly.in/question/7453425
Write a code in python to display your name and age.
https://brainly.in/question/11837048
Write python code to read a number and print its table
Similar questions