MCQ Answer

What is the output of the function complex()?

What is the output of the function complex()?

फ़ंक्शन कॉम्प्लेक्स () का आउटपुट क्या है?
Topic : Functions in Python

A. 0j

B. 0+0j

C. 0

D. Error एरर




Correct Answer is :

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.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz