What will be the output of the following Python code?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा ?
def printMax(a, b): if a > b: print(a, 'is maximum') elif a == b: print(a, 'is equal to', b) else: print(b, 'is maximum') printMax(3, 4)
Which of the following is used to define a block of code in the Python language?
नीचे दिए गए विकल्पों में से, Python में कोड के एक ब्लॉक को परिभाषित करने के लिए किसका उपयोग किया जाता है?
What is the output of the following string operation:
नीचे दी गई स्ट्रिंग ऑपरेशन का आउटपुट क्या होगा:
print(str*2)` where `str = "Wah"`?
Who developed python?
Python किसने बनाया?
What will be the output of the following Python statement?
निम्नलिखित पायथन कथन का आउटपुट क्या होगा?
>>> "a" "be"
Which function is used to create an identity matrix in NumPy?
NumPy में पहचान मैट्रिक्स बनाने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
Which of the following is correctly evaluated for `pow(x, y, z)` in Python?
पायथन में `pow(x, y, z)` के लिए निम्नलिखित में से कौन सा सही ढंग से मूल्यांकन किया गया है?
Which of the following is not an appropriate file access mode in Python?
निम्नलिखित में से कौन-सा पायथन में उपयुक्त फ़ाइल एक्सेस मोड नहीं है?
Which operator is used for assignment in Python?
पायथन में असाइनमेंट के लिए किस ऑपरेटर का उपयोग किया जाता है?
Which of the following is the use of the `id()` function in Python?
पायथन में `id()` फ़ंक्शन का उपयोग निम्नलिखित में से किसमें किया जाता है?
What is the purpose of the `strip()` method in Python?
पायथन में `strip()` विधि का उद्देश्य क्या है?
What is returned by `math.isfinite(float('inf'))`?
'math.isfinite(float('inf'))` द्वारा क्या लौटाया जाता है?
What would be the output of the following code?
निम्नलिखित कोड का आउटपुट क्या होगा?
for i in range(5): print(i)
What is the purpose of the 'in' keyword in Python?
पायथन में 'in' कीवर्ड का उद्देश्य क्या है?
What is the output of the following code?
निम्नलिखित कोड का आउटपुट क्या होगा ?
import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
A Python module is a file with the _______ file extension that contains valid Python code.
पायथन मॉड्यूल _______ फाइल एक्सटेंशन वाली एक फाइल है जिसमें वैध पायथन कोड होता है।
What is the purpose of zeros() function used in Numpy array?
Numpy array में उपयोग किए जाने वाले zoros () फ़ेक्शन का उद्देश्य क्या है?
Function defined to achieve some task as per the programmer's requirement is called a
प्रोग्रामर की आवश्यकता के अनुसार किसी टास्क को प्राप्त करने के लिए परिभाषित फंक्शन को _______ कहा जाता है?
Which of the following is false about "from.... import ......" form of import?
“from .... import......" इम्पोर्ट फॉर्म के बारे में कौन सा असत्य है?
The process of drawing a flowchart for an algorithm is called
एल्गोरिथम के लिए फ्लोचार्ट बनाने की प्रक्रिया को _______ कहा जाता है।
Suppose a list with name arr, contains 5 elements.You can get the 2nd element from the list using :
मान लीजिए कि arr नामक सूची में पाँच एलीमेंट्स हैं। आप सूची से दूसदू रा एलीमेंट _______ के उपयोग से प्राप्त कर सकते हैं:
What are the three different types of algorithm constructions?
तीन अलग-अलग प्रकार के एल्गोरिदम कंशट्रकशन्स क्या हैं?
The syntax of seek() is: file_object.seek(offset [,reference_point]) What does the reference_point indicate?
seek() is: file_object.seek(offset [,reference_point]) का सिंटैक्स है रेफरेंस _पॉइंट क्या दर्शाता है?
Assume q= [3, 4, 5, 20, 5, 25, 1, 3], then what will be the items of q list after q.pop(1)?
मान लीजिए q= [3, 4, 5, 20, 5, 25, 1, 3], तो q.pop (1) के बाद q लिस्ट के आइटम क्या होंगे?
How is a function declared in Python?
पायथन में एक फंक्शन को कैसे डिक्लेयर किया जाता है?
The way for solving a problem step by step is known as.
किसी समस्या को चरणबद्ध तरीके से हल करने का तरीका _______ के रूप में जाना जाता है?
Which of the following is not a valid identifier?
निम्नलिखित में से कौन वैलिड आईडेंटिफायर नहीं है?
Which statement is correct to import all modules from the package?
पैकेज से सभी मॉड्यूल इम्पोर्ट करने के लिए कौन सा कथन सही है।
x = 50 def func(): global x x = 2 func() print('x is now', x)
What is the output of below program?
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?
def maximum(x, y): if x > y: return x elif x == y: return 'The numbers are equal' else: return y print(maximum(2, 3))
निम्नलिखित कोड का आउटपुट क्या है?
friends = {"Joey": 1, "Rachel": 2} friends.update({"Phoebe": 2}) print(friends)
What will be the output of the following?
निम्नलिखित का आउटपुट क्या होगा ?
import numpy as np a = np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]) print(a[2, 2])
What will be the output of the following Python program?
def addItem(listParam): listParam += [1] mylist = [1, 2, 3, 4] addItem(mylist) print(len(mylist))
What will the segment print do for the following text?
निम्नलिखित कोड सेगमेंट प्रिंट क्या करेगा?
a = True b = False c = False if not a or b: print(1) elif not a or not b and c: print (2) elif not a or b or not b and a: print (3) else: print (4)
a = {1: "A", 2: "B", 3: "C"} b = {4: "D", 5: "E"} a.update(b) print(a)
What will be the output of the following pseudo-code?
निम्नलिखित सूडो कोड का आउटपुट क्या होगा ?
a=4 while a != 0: print(a + 2,end="") a = a - 1
What is the maximum possible length of an identifier?
एक आईडेंटिफायर की अधिकतम संभव लंबाई क्या है?
Which of the following is a correct way to handle multiple exceptions in a single `except` block?
एकल `except` ब्लॉक में एकाधिक अपवादों को संभालने का निम्नलिखित में से कौन सा सही तरीका है?
How does Python's `range()` function behave in Python 3.x?
पायथन 3.x में पायथन का `range()` फ़ंक्शन कैसे व्यवहार करता है?