If a module is imported multiple times in a program, Python by default _______ the module.

  • ignores
  • reimports
  • reloads
  • renames
If a module is imported multiple times in a program, Python by default ignores the module. Once a module is imported, Python keeps track of it and doesn't reload or re-import it again, to avoid duplicate code and potential issues.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *