All challenges
Multiple ChoiceBeginner 30s

__name__ == '__main__'

Choose the best answer for: __name__
Options
  1. 1__name__ is always '__main__' in every imported module
  2. 2__name__ is a function that returns the module's name
  3. 3__name__ is '__main__' when script is run directly
  4. 4__name__ is the filename of the module on disk

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle