Practice · 1 of 2
Script or Module?
CHALLENGE
Difficulty: intermediate+25 XP
Implement run_report() returning the string 'report'. Then implement the module-level pattern: a variable RAN_DIRECTLY set by the __main__ guard. Because the sandbox imports your code as a module, RAN_DIRECTLY must be False here — and run_report() must not print.
Press Submit to check your solution.
Back to lesson: Practice: Import Discipline