Problem Statement
What is a common role of __init__.py in a package?
Explanation
__init__.py runs on package import. You can import and re-export symbols there to present a clean interface.
In modern Python, implicit namespace packages can work without it, but __init__.py still helps for explicit control and side effects.
Code Solution
SolutionRead Only
# mypkg/__init__.py from .core import run __all__=['run']
