Correct Answer: <type 'function'>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Python Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Python MCQ Questions
Which is NOT an implementation of the Python Language?
What will an octal number and hexadecimal number start with?
Given dictionary: a = {'foo': 1, 'bar': 10} Which of the following removes the last key pair value ?
In what way can Python interoperate with C code?
If a file is opened by calling 'input = open('data')', what does the line 'aString = input.read()' do?
Output of the following Python code? List = [5, 12, 3, 4, 2, 16, 2, 2, 2, 11] print(sum(List)+List.count(2)+min(List)+max(List)+List.pop()) del List[0] del List[6] print(List.pop(0)+len(List)+List.index(2)+List.index(2,2))
Correct output from the given options. def comF(x, y): if x > y: sm = y else: sm = x for i in range(1, sm+1): if((x % i == 0) and (y % i == 0)): cf = i return cf num1 = 84 num2 = 64 print(comF(num1, num2))
Output of the following Python code? class Son(object): def __init__(self, name): self.name = name def gN(self): return self.name def sE(self): return False class Ply(Son): def sE(self): return True mp = Son('1') print(mp.gN(), mp.sE()) mp = Ply('0') print(mp.gN(), mp.sE())
Correct answer from the given options. from string import Template Student = [(‘X',24), ('Y',32), ('2',20)] t = Template('$rn‘) for i in Student: print (t.substitute(n = i[0], m = i[1]‘3-1))
Which of the following values of the 'timeout’ argument of the acquireo function represents an unbounded wait?