Take Quiz

Minimum pass score: 3 out of 5 questions

Language:
Visibility:🌎 Public

Python advanced

Test your Python knowledge!

First question preview

What is the purpose of the Python `__init__.py` file in a package?

  1. To initialize the package when imported
  2. To define the module's global variables
  3. To compile the package code
  4. To execute the package directly

Attempts Information

You can take this quiz as many times as you want

Loading...