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)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
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 is the output of below program ?
def say(message, times =1): print(message * times) say("Hello") say("Word",5)
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?
What is the output of this code?
def calc(x): r=2*x**2 return r print(calc(5))
इस कोड का आउटपुट क्या होगा
What is the output of the following code ?
def add(a, b): return a+5, b+5 result = add(3,2) print(result)
निम्नलिखित कोड का परिणाम क्या है ?
What is the return type of following function ?
def func1(): return 'mnp',22 print(type(func1()))
निम्नलिखित फंक्शन का रिटर्न प्रकार क्या है?
What will be the output of the following?
def iq(a,b): if(a==0): return b else: return iq(a-1,a+b) print(iq(3,6))
निम्नलिखित का आउटपुट क्या होगा?
def fun(a, b=6): a=a+b print(a) fun(5, 4)