When does the condition if __name__ == "__main__" return True?
if __name__ == "__main__"
True
Select one:
Always
When the Python file is executed as a script
When the Python file is imported as a module
Hint
It’s about how you’re running the file!
Sorry! There has been an error processing your answer. Please try again.
Got feedback on this question?