What gets printed?
d = lambda p: p * 2
t = lambda p: p * 3
x = 2
x = d(x)
x = t(x)
x = d(x)
print x
Answer
what gets printed? Assuming python version 3.x
print (type(1/2))
Answer
what is the output of the below program?
a = [1,2,3,None,(),[],]
print len(a)
Answer
what is the output of the following code?
print type(lambda:None)
Answer
what should the below code print?
print type(1J)
Answer
what gets printed?
def f(): pass
print type(f())
Answer
what is the output of the following code?
print type([1,2])
Answer
what gets printed? Assuming python version 2.x
print type(1/2)
Answer
What does the following code do?
def a(b, c, d): pass
Answer
© 2017 QuizBucket.org