python Module Questions & Answers

Question 11: The following is an example of _________.

def getcol(x):
    for i in range(x):
        yield i

Question 1: Python modules are stored in which type of file?

Question 2: Which of these is not a built-in module in Python distribution?

Question 3: Built-in modules in Python are written in


Question 4: What will print (randrange(1,10)) statement do?

Question 5: Which of the following statement is incorrect?