πŸ“Š Problem Solving and Python Programming
Q. What is the output of the function complex()?
  • (A) 0j
  • (B) 0+0j
  • (C) 0
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0j

Explanation: the complex function returns 0j if both of the arguments are omitted, that is, if the function is in the form of complex() or complex(0), then the output will be 0j.


Explanation by: Mr. Dubey
the complex function returns 0j if both of the arguments are omitted, that is, if the function is in the form of complex() or complex(0), then the output will be 0j.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
435
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate