Answer to Question #102205 in Python for Subhakar

Question #102205
The datatype of the variable a = (1i) is
1
Expert's answer
2020-02-03T08:34:56-0500

a = (1i) is incorrect syntacsis in Python.

But for writing complex number use (1j) not (1i). If a = (1j) we can say the datatype of a is numerical (complex number).


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS