pythontest2 /100 29 pythontest Enrollment No.Name 1 / 100 Which of the following function headers is correct? निम्नलिखित में से कौन सा फ़ंक्शन हेडर सही है? def fun(a = 2, b = 3, c) def fun(a = 2, b, c = 3) def fun(a, b = 2, c = 3) def fun (a, b, c = 3, d) 2 / 100 Two main measures for the efficiency of an algorithm are किसी एल्गोरिथम की दक्षता के दो मुख्य उपाय हैं processor and memory Complexity and capacity Times and space Data and space 3 / 100 The output of the following python program is____. निम्नलिखित पायथन प्रोग्राम का आउटपुट ____ है। r=lambda q:q*2 s=lambda q:q*3 x=2 x=r(x) x=s(x) x=r(x) print x 24 48 64 None of the above 4 / 100 What will be output of this expression: इस अभिव्यक्ति का आउटपुट क्या होगा: 'p' + 'q' if '12'.isdigit() else 'r' + 's' pq rs pqrs pq12 5 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def maximum(x, y): if x > y: return x elif x == y: return 'The numbers are equal' else : return y print(maximum(2, 3)) 3 The numbers are equal 2 None of these 6 / 100 Which amongst this is not a jump statement? इनमें से कौन सा जंप स्टेटमेंट नहीं है? for goto continue break 7 / 100 Find the output of the following program segments: निम्नलिखित प्रोग्राम खंडों का आउटपुट खोजें: country = 'INDIA' for i in country : print (i, end= ' ' ) INDIA I N D I A INDI None of these 8 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? x=[ 'ab' , 'cd' ] y=0 for i in x: x[y]=i .upper( ) y+=1 print ( x ) ['ab','cd'] ['AB','CD'] ['ab','cd','AB','CD'] Error 9 / 100 Amongst which of the following is / are true with reference to loops in Python? पायथन में लूप के संदर्भ में निम्नलिखित में से कौन सा/से सत्य है/हैं? It allows for code resuability to be achieved. By utilizing loops, we avoid having to write the same code over and over again. We can traverse through the elements of data structures by utilizing looping. All of the mentioned above 10 / 100 Write the output of the following: निम्नलिखित का आउटपुट लिखें: print("python".join("@")) 'p@y@t@h@o@n' 'p@y@t@h@o@n@' '@p@y@t@h@o@n@' '@' 11 / 100 The output of this Python code would be: इस पायथन कोड का आउटपुट होगा: >>>s='{0},{1}, and {2}' >>>s.format('hi','great','day') 'hi, great, and day' 'hi great and day' 'hi, great, day' Error 12 / 100 The word comes from the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called? यह शब्द फ़ारसी गणितज्ञ अबू जाफ़र मोहम्मद इब्न-ए मूसा अल खोवारीज़ामी के नाम से आया है जिसे कहा जाता है? Flowchart Flow Algorithm syntax 13 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([[1, 2, 3, 4],[5, 6, 7, 8],[9, 10, 11, 12]]) print(a[2,2]) 7 11 10 8 14 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo (k) : k[0] = 1 q = [0] foo(q) print(q) [1] [0,1] [1,0] [0] 15 / 100 What is the return type of following function ? निम्नलिखित फ़ंक्शन का रिटर्न प्रकार क्या है? def func1 (): return 'mnp', 22 List Dictionary string tuple 16 / 100 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) 1 2 3 0 17 / 100 What will be the output of the following? निम्नलिखित का आउटपुट क्या होगा? import numpy as np a=np.array([2, 3, 4, 5]) b=np.arange(4)| print (a+b) [2 3 4 5] [3 4 5 6] [1 2 3 4] [2 4 6 8] 18 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def increment_items (L, increment): i = 0 while i < len(L) : L[i] = L[i] + increment i = i + 1 values = [1, 2, 3] print ( increment_items (values, 2)) print ( values ) None [3, 4, 5] None [1, 2, 3] [3, 4, 5] [1, 2, 3,] [3, 4, 5] None 19 / 100 How many numbers will be printed by the following code? निम्नलिखित कोड से कितने नंबर प्रिंट होंगे? def fun(a,b): for x in range(a, b+1): if x%3==0: print (x, end=" ") fun(100, 120) 7 8 6 9 20 / 100 If we not see the rules of the programming language, we get? यदि हम प्रोग्रामिंग भाषा के नियमों को नहीं देखते हैं, तो हमें क्या मिलता है? Runtime Error Syntax Error Logical Error None of the above 21 / 100 What will be the output of the following python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def calc ( x ) : r=2*x**2 return r print ( calc ( 5 )) Error 50 100 20 22 / 100 The Compexity of linear search algorithm is रैखिक खोज एल्गोरिथ्म की जटिलता है O(n) O(log n) O(n2) O(n log n) 23 / 100 Set of statements is executed again and again based upon conditional test. सशर्त परीक्षण के आधार पर कथनों के सेट को बार-बार निष्पादित किया जाता है। Looping Selective Sequence None of the above 24 / 100 The program must be able to handle unexpected situation like wrong input or no input. प्रोग्राम को गलत इनपुट या कोई इनपुट न होने जैसी अप्रत्याशित स्थिति को संभालने में सक्षम होना चाहिए। Error Expression Portability Realiability 25 / 100 What is the output of below program? नीचे दिए गए प्रोग्राम का आउटपुट क्या है? def say(message, times=1): print(message*times) say('Hello') say('World' ,5) Hello WorldWorldWorldWorldWorld Hello World5 Hello World,World,World,World,World Hello HelloHelloHelloHelloHello 26 / 100 A sequence of instruction, in a computer language, to get the desired result is known as ____ . वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश के अनुक्रम को ____ के रूप में जाना जाता है। An Algorithm A decision table A program None of the above 27 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo( i, x=[ ] ): x.append(i) return x for i in range (3): print (foo(i)) [0][0,1][0,1,2] [0][1][2] [1][2][3] [1][1,2][1,2,3] 28 / 100 Which arithmetic operators can not use with strings? स्ट्रिंग्स के साथ कौन से अंकगणितीय ऑपरेटर का उपयोग नहीं किया जा सकता है? - + * None of them 29 / 100 What will be the output of the following Python code ? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=3 b=2 def change ( ) : global b a=4 b=5 return ( a*b ) print ( change( )*a) 20 60 80 None of these 30 / 100 All instruction are executed one after other. सभी अनुदेश एक के बाद एक क्रियान्वित किये जाते हैं। Looping Selection Sequence None of the above 31 / 100 What will following code segment print? निम्नलिखित कोड खंड क्या प्रिंट करेगा? 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 ) 1 3 2 4 32 / 100 Python supports Object-Oriented style or technique of programming that encapsulates code within____ . पायथन ऑब्जेक्ट-ओरिएंटेड शैली या प्रोग्रामिंग की तकनीक का समर्थन करता है जो कोड को ____ के भीतर समाहित करता है। Objects style Memory None 33 / 100 What does the following code print? निम्नलिखित कोड क्या प्रिंट करता है? x='mohan' for i in range(len(x)): x[ i ]. upper( ) print (x) mohan MOHAN Error None of these 34 / 100 What will be output after execution of the following code? निम्नलिखित कोड के निष्पादन के बाद आउटपुट क्या होगा? x=13 if x>12 or x<15 and x==16: print (" Given condition matched") else: print (" Given condition did not match") Given condition matched Given condition did not match Both A and B None of these 35 / 100 Set of statements is executed based upon conditional test. कथनों का सेट सशर्त परीक्षण के आधार पर निष्पादित किया जाता है। Looping Selective Sequence None of these 36 / 100 Which statement is correct about Isalnum(). इस्लनम() के बारे में कौन सा कथन सही है? Method returns true if all characters in the string are alphanumeric numbers( either alphabets or numbers). If not, it returns false. Method returns False if all characters in the string are alphanumeric numbers( either alphabets or numbers). If not, it returns True Both of the above None of these 37 / 100 What will be output after execution of the following code? निम्नलिखित कोड के निष्पादन के बाद आउटपुट क्या होगा? a=11 b=5 if (a//b==2): print ( 'Yes' ) else: print ( 'No' ) 2.5 Yes No 21 38 / 100 What will be the output of the following code snippet? निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा? square = lambda x: x ** 2 a = [ ] for i in range(5): a.append(square(i)) print (a) [1, 4, 9, 16] [0,1,2,3,4] [0, 1, 4, 9, 16] [1,2,3,4,5] 39 / 100 In python code, on encountering a syntax error, the ____ does not execute the program. पायथन कोड में, सिंटैक्स त्रुटि का सामना करने पर, ____ प्रोग्राम निष्पादित नहीं करता है। Process Editor Interpreter converter 40 / 100 In a Python program, Nested if Statements denotes? पायथन प्रोग्राम में, नेस्टेड इफ स्टेटमेंट्स को दर्शाता है? if statements inside another if statement if statement outside the another if statement Both A and B None of mentioned above 41 / 100 What is the output of the following code? निम्नलिखित कोड का परिणाम क्या है? def fun (a, b=6): a=a+b print (a) fun (5, 4) 11 9 5 4 42 / 100 Which part of the memory does the system store the parameter and local variables of a function call? सिस्टम मेमोरी के किस भाग में फ़ंक्शन कॉल के पैरामीटर और स्थानीय वेरिएबल्स को संग्रहीत करता है? heap stack Uninitialized data segment None of the above 43 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? X = "abcdef" while i in x: print(i, end=" ") a b c d e f abcdef !!!!!!.. Error 44 / 100 Testing is known as : परीक्षण को इस नाम से जाना जाता है: A stage of all projects Finding broken code Evaluating deliverable to find errors None of the above 45 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def func (a, b=5, c=10): print( 'a is' , a, 'and b is' , b, 'and c is' , c) func(3, 7) func(25, c=24) func(c=50, a=100) a is 7 and b is 3 and c is 10 a is 25 and b is 5 and c is 24 a is 5 and b is 100 and c is 50 a is 3 and b is 7 and c is 10 a is 5 and b is 25 and c is 24 a is 50 and b is 100 and c is 5 a is 3 and b is 7 and c is 10 a is 25 and b is 5 and c is 24 a is 100 and b is 5 and c is 50 None of the mentioned 46 / 100 How are keyboard arguments specified in the function heading? फ़ंक्शन शीर्षक में कीबोर्ड तर्क कैसे निर्दिष्ट किए जाते हैं? one-star followed by a valid identifier one underscore followed by a valid identifier two stars followed by a valid identifier two underscores followed by a valid identifier 47 / 100 Users write the programs in which language? उपयोगकर्ता प्रोग्राम किस भाषा में लिखते हैं? Low-level Language High-level Language Middle-level Language None of these 48 / 100 It refers to the ability of an application to run on different plateforms with or without minimal changes. यह किसी एप्लिकेशन की न्यूनतम परिवर्तनों के साथ या उसके बिना विभिन्न प्लेटफ़ॉर्म पर चलने की क्षमता को संदर्भित करता है। Error Flexibility Portability Reliability 49 / 100 Which of the following Boolean expressions is not logically equivalent to other three? निम्नलिखित में से कौन सा बूलियन अभिव्यक्ति तार्किक रूप से अन्य तीन के समकक्ष नहीं है? not(-6<0 or -6>10) -6>=0 and -6<=10 not(-6<10 or -6==10) not(-6>10 or 6==10) 50 / 100 What is the output of the following program? निम्नलिखित प्रोग्राम का आउटपुट क्या है? a = 2 b = '3.77' c = -8 str1 = '{0:.4f} {0:3d} {2} {1}' .format (a, b, c) print (str1) 2.0000 2 -8 3.77 2 3.77 -8 3.77 2.000 3 -8 3.77 2.000 2 8 3.77 51 / 100 Which one of these is NOT true about recursion? इनमें से कौन सा प्रत्यावर्तन के बारे में सत्य नहीं है? We can replace a recursive function by a non-recursive function. The memory space taken by the recursive functions is more than that of non-recursive function. Running a recursive function is faster as compared to a non-recursive function. The process of recursion makes it easier for users to understand a program. 52 / 100 Pseodocode is used for सियोडोकोड का उपयोग किसके लिए किया जाता है? Denoting the program Flow- Program code For coding the program To write program steps- 53 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import functools 1=[1, 2, 3, 4, 5] m=functools.reduce(lambda x, y:x if x>y else y, l) print (m) Error Address of m 1 5 54 / 100 The part of a Machine level instruction, which tellsthe central processor what has to be done, is मशीन स्तर के निर्देश का वह भाग, जो केंद्रीय प्रोसेसर को बताता है कि क्या करना है An operation code An address An operand None of the above 55 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([1, 5, 4, 7, 8]) a=a+1 print(a[1]) 4 5 6 7 56 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2])) [1 5 2] [1 5 4] [2 3 4] [2 5 4] 57 / 100 Which of the following is False regarding loops in Python? पायथन में लूप के संबंध में निम्नलिखित में से कौन सा गलत है? Loops are used to perform certain tasks repeatedly. While loop is used when multiple statements are to executed repeatedly until the given condition becomes False. While loop is used when multiple statements are to executed repeatedly until the given condition becomes True. for loop can be used to iterate through the elements of lists. 58 / 100 Algorithm when translated into a programming language is called ____ . एल्गोरिदम को जब प्रोग्रामिंग भाषा में अनुवादित किया जाता है तो उसे ____ कहा जाता है। Flowchart Identifier code Debugging 59 / 100 range(3) in Python is equivalent to: पायथन में रेंज(3) इसके बराबर है: range(0,3,1) range(1,4,1) range(1,3) range(1,3,0) 60 / 100 Amongst which Python library is similar to Pandas? इनमें से कौन सी पायथन लाइब्रेरी पांडा के समान है? NPy RPy NumPy None of these 61 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import factorial print (factorial (5)) 120 Nothing is printed Error, method factorial doesn't exist in math module; None of the above 62 / 100 What will be the final value of I after execution of the loop: लूप के निष्पादन के बाद I का अंतिम मान क्या होगा: for I in range(10): print( I ) 10 9 Error None of these 63 / 100 What is the output of the following code? निम्नलिखित कोड का परिणाम क्या है? def disp(*arg): for i in arg: print( i ) disp(name="Rajat", age="20") TypeError Rajat 20 Name Page None of these 64 / 100 Which of the following carries out the instructions defined in the interface? निम्नलिखित में से कौन इंटरफ़ेस में परिभाषित निर्देशों को कार्यान्वित करता है? Operating system Compiler Implementation Interpreter 65 / 100 What value does the following expression evaluate to? निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है? x = 5 while x < 10: print ( x, end=' ' ) Closed loop one time loop Infinite loop Evergreen loop 66 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? m=[[x,x+1,x+2] for x in range(0,3)] print(m) [[1,2,3 ],[4,5,6],[7,8,9] [[0,1,2],[1,2,3],[2,3,4] [1,2,3,4,5,6,7,8,9] [0,1,2,1,2,3,2,3,4] 67 / 100 Which of the following statement is false about recursion: रिकर्सन के बारे में निम्नलिखित में से कौन सा कथन गलत है: Every recursive function must have a base case Infinite rescursion can occur if the base case isn't properly mentioned A recursive function makes the code easier to understand Every recursive function must have a return value 68 / 100 Part of algorithm which is repeated for fixed number of times is classified as एल्गोरिथम का वह भाग जिसे निश्चित संख्या में बार-बार दोहराया जाता है, को इस प्रकार वर्गीकृत किया गया है Iteration Selection Sequence None of these 69 / 100 What is the output of the following code? निम्नलिखित कोड का परिणाम क्या है? def add (a, b): return a+5, b+5 result=add(3,2) print(result) 15 8 (8,7) Error 70 / 100 What will be the output of the following? निम्नलिखित का आउटपुट क्या होगा? print((range(4))) 0, 1, 2, 3 [0, 1, 2, 3] range(0, 4) (0, 1, 2, 3) 71 / 100 Which of the following is incorrect? निम्नलिखित में से कौन सा गलत है? x = 30963 x = 0x4f5 x = 19023 x = 03964 72 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def cube(x) : return x * x * x x = cube (5) print (x) 26 525 125 None of these 73 / 100 What will be the output of the following code snippet? निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा? i=0 while i<5 : print ( i ) i +=1 if i==3 : break else : print ( 0 ) 0 1 2 0 1 2 3 0 1 2 3 4 3 2 1 74 / 100 Operations to be repeated a certain number of times are done by ____ . एक निश्चित संख्या में दोहराए जाने वाले ऑपरेशन ____ द्वारा किए जाते हैं। Selection Sequential Simple Loop 75 / 100 The output of this Python code would be: इस पायथन कोड का आउटपुट होगा: def find(x, **y ): print (type(y)) find("letters" , X= '1' , Y= '2' ) String <class 'dict'> Tuple An exception is thrown 76 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([[1, 2, 3],[0, 1, 4],[11, 22, 33]]) print(a.size) 1 3 9 4 77 / 100 Observe the following code and identify what will be the outcome? निम्नलिखित कोड का अवलोकन करें और पहचानें कि परिणाम क्या होगा? import numpy as np a=np.array([1,2,3,4,5,6]) print(a) [1 2 3 4 5] [1 2 3 4 5 6] [0 1 2 3 4 5 6] None of the mentioned above 78 / 100 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) 3 4 4 is maximum None of these 79 / 100 Which of the following defines what an object can do? निम्नलिखित में से कौन परिभाषित करता है कि कोई वस्तु क्या कर सकती है? operating system Compiler Interface None of these 80 / 100 What will be the output of the following code? निम्नलिखित कोड का आउटपुट क्या होगा? x = 50 def fun1 ( ): x = 25 print ( x ) fun1( ) print ( x ) 25 50 50 25 Name Error None of these 81 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range (2.0) : print ( i ) 0.0 1.0 0 1 TypeError: 'float' object can not be interpreted as an integer. none of the mentioned 82 / 100 The function pow(x,y,z) is evaluated as: फ़ंक्शन pow(x,y,z) का मूल्यांकन इस प्रकार किया जाता है: (x**y)**z (x**y) / z (x**y) % z (x**y)*z 83 / 100 What among the following list of operators has the highest precedence? ऑपरेटरों की निम्नलिखित सूची में से किसकी प्राथमिकता सबसे अधिक है? +,-,**,%,/,<<,>>,| << ** | % 84 / 100 What will be the output of the following code snippet? निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा? from math import * a = 2.19 b = 3.999999 c = -3.30 print(int (a), floor(b), ceil(c), fabs(c)) 2 3 -3 3.3 3 4 -3 3 2 3 -3 3 2 3 -3 -3.3 85 / 100 Write the output of the following code: निम्नलिखित कोड का आउटपुट लिखें: s="OLEVEL" for i in range (-1, -len(s), -1): print (s[ i ], end="$") L$E$V$E$L$O$ L$E$V$E$L$ Error None 86 / 100 Which of the following executes the programming code line by line? निम्नलिखित में से कौन प्रोग्रामिंग कोड को लाइन दर लाइन निष्पादित करता है? Compiler Interpreter Executer Translator 87 / 100 What is the output of the following? निम्नलिखित का आउटपुट क्या है? print("Hello {0!r} and {0!s}".format('foo','bin')) Hello 'foo' and foo Hello 'foo' and foo Hello foo and 'bin' Error 88 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" while i in x: x = x[: -1] print(i, end = " " ) iiiiii aaaaaa aaaaa None 89 / 100 NumPy arrays can be __. NumPy सरणियाँ __ हो सकती हैं। Indexed Sliced Iterated All of the above 90 / 100 Which statements is correct about the object-oriented programming concept in Python? पायथन में ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग अवधारणा के बारे में कौन सा कथन सही है? Classes are real-world entities while objects are not real Objects are real-world entities while classes are not real Both A and B None of them 91 / 100 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)) 5 8 2 1 92 / 100 Which of the following is the output of this program? निम्नलिखित में से कौन सा इस प्रोग्राम का आउटपुट है? i=1 while False : if i%2==0: print ( i ) i+=2 1 1 3 5 7 ....... 1 2 3 4 None of the above 93 / 100 Correcting the problem code समस्या कोड को ठीक करना Testing Syntax error Runtime error Debugging 94 / 100 Designing the problem समस्या को डिज़ाइन करना Testing Debugging Logical error Algorithm 95 / 100 Which of the following is the output of this program? निम्नलिखित में से कौन सा इस प्रोग्राम का आउटपुट है? True=False While True: print (True) break True False Error None of the above 96 / 100 To access a list which contains ten elements, which of the following uses of range() would produce a list of the desired indexes? एक सूची तक पहुंचने के लिए जिसमें दस तत्व शामिल हैं, रेंज() का निम्नलिखित में से कौन सा उपयोग वांछित अनुक्रमितों की एक सूची तैयार करेगा? range(1,10) range(0,9) range(10) range(1,11) 97 / 100 What is the output of the following code? निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([[1, 2, 3]]) print(a.shape) (2, 3) (3, 1) (1, 3) None of these 98 / 100 What will be the output after the following statements? निम्नलिखित कथनों के बाद आउटपुट क्या होगा? a=0 b=3 while a+b<8 : a+=1 print (a, end=' ') 0 1 2 3 4 1 2 3 4 5 6 1 2 3 4 5 None of these 99 / 100 If str1="Programming Language " What does str1.find("m") return? यदि str1='प्रोग्रामिंग भाषा ' str1.find('m') क्या लौटाती है? Number of occurances of "m" in string str1. Index positions of "m" in the string str1. It returns the whole string str1 if it contains "m". It returns the index position of first occurance of "m" in the string str1. 100 / 100 What will be the output of the following Python code? निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 50 def func(x) : print ('x is' , x) x = 2 print ('Changed local x to' , x) fun(x) print( 'x is now' , x) x is now 100 x is now 20 x is now 50 None of these Your score is LinkedIn Facebook Twitter VKontakte 0% Facebook WhatsApp Twitter