Programming (Year 11)
Execution Context
What is the purpose of the 'if __name__ == "__main__":' statement in Python?
To execute code when the script runs directly
To define a function
To import a module
To handle exceptions
Next