Programming and Problem Solving through Python : Functions in Python

फ़ंक्शन कॉम्प्लेक्स () का आउटपुट क्या है? , What is the output of the function complex()?

What is the output of the function complex()?




Solution
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) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad