4.
What is the purpose of the __file__ attribute in a Python module?

5.
What will be the output of the following Python code?
random.seed(3)
random.randint(1,5)
2
random.seed(3)
random.randint(1,5)

9.
Which of the following cannot be pickled?

Read More Section(Module in Python)

Each Section contains maximum 100 MCQs question on Module in Python. To get more questions visit other sections.