Practice ยท 1 of 2
Script or Module?
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.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Import Discipline