Solved

Which Statement Allows a Programmer to Run a Module as a Standalone

Question 31

Multiple Choice

Which statement allows a programmer to run a module as a standalone program or import it from the shell?


A) do _module(main)
B) while main != _module
C) if self == "main() ":
D) if __name__ == "__main__":

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions