MCQ Practice Single Best Answer Topic: Create Objects in Python

Q In Python, which of the following files is mandatory to treat a folder as a package?

Question ID
#20259
Subchapter
Create Objects in Python
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A __main__.py
  • B init.py
  • C main.py
  • D __init__.py
Correct Answer: D

Explanation

The correct answer is: __init__.py

Share This Question

Share this MCQ with your friends or study group.