O Level Python Paper January 2021
निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
Find the output of following Python Programs.
a= “Meetmeatafterparty”
b= 13
print a+b निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
Find the output of the following Python programs.
class Acc:
def __init__(self, id):
self.id = id
id = 555
acc = Acc(111)
print (acc.id)
निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
Find the output of the following Python programs.
x=['ab','cd']
for i in x:
i.upper()
print(x) निम्नलिखित प्रोग्राम का आउटपुट क्या है?
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)
निम्नलिखित पायथन प्रोग्रामों का आउटपुट पता करें:
Find out the output of the following Python programs:
def gfg(x,l=[]):
for i in range(x):
l.append(i*i)
print(l)
gfg(2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
t1 = (1, 2, 4, 3)
t2 = (1, 2, 3, 4)
print(t1<t2) निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code ?
import functools
l=[1, 2, 3, 4, 5]
m=functools.reduce(lambda x, y:x if x>y else y, l)
print(m) निम्नलिखित पायथन प्रोग्राम का आउटपुट ____ है
The output of 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
आइए निम्नलिखित पायथन कोड पर विचार करें, इस कोड का आउटपुट है
Let consider the following Python code. The output of this code is ____
a = True
b = False
c = False
if a or b and c:
print("TRUE")
else:
print("FALSE")