Take Quiz
Minimum pass score: 3 out of 5 questions
Language:'%3e%3cpath fill='%23012169' d='M0 0v30h60V0z'/%3e%3cpath stroke='%23fff' stroke-width='6' d='m0 0 60 30m0-30L0 30'/%3e%3cpath stroke='%23C8102E' stroke-width='4' d='m0 0 60 30m0-30L0 30' clip-path='url(%23b)'/%3e%3cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3e%3cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3e%3c/g%3e%3c/svg%3e)
English
Visibility:🌎 Public
Python advanced
Test your Python knowledge!
First question preview
What is the purpose of the Python `__init__.py` file in a package?
- To initialize the package when imported
- To define the module's global variables
- To compile the package code
- To execute the package directly
Attempts Information
You can take this quiz as many times as you want
Loading...