Code AnalysisIntermediate 45s
__all__ effect
What is the output?
Starter code
# Module mymod.py: __all__ = ['a'] a = 1 b = 2 # In interactive: from mymod import * # 'a' is defined, 'b' raises NameError when accessed
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.