page-banner
Chapter-6 (Part-1) Python Function
Q26.
पाइथन में, निम्नलिखित में कौन सा बिल्ट-इन फंक्शन है |<break-line><break-line>In python, which of the following functions is a built-in function?
A. val()
B. print()
C. func_k()
D. None of these
View Answer
Q27.
निम्नलिखित कोड का आउटपुट क्या होगा<break-line><break-line>What will be the output of following code?<pre><code>x = ['XX', 'YY'] for i in x: i.lower() print(x)</code></pre>
A. ['XX', 'YY']
B. ['xx', 'yy']
C. [XX, YY]
D. None of these
View Answer
Q28.
निम्नलिखित में फंक्शन को कॉल करने का कौन सा एक तरीका सही है<break-line><break-line>Which one of the following is the correct way of calling a function?
A. function_name()
B. call function_name()
C. ret function_name()
D. function function_name()
View Answer
Q29.
यदि किसी फंक्शन के पास रिटर्न स्टेटमेंट नहीं है तो निम्नलिखित में से फंक्शन क्या रिटर्न करेगा |<break-line><break-line>If a function does not have a return statement, which of the following does the function return?
A. int
B. null
C. An exception is thrown without return
D. None
View Answer
Q30.
फंक्शन को प्रोग्राम में कॉल करने के लिए फंक्शन का नाम के साथ .......... का प्रयोग करते है |<break-line><break-line>The function can be called in the program by writing function name followed by __________.
A. [ ]
B. { }
C. ( )
D. None of the above
View Answer