A developer is constructing some functions in Python. When is a function referred to as a module in Python?

IT Exam Items RepositoryCategory: DevNetA developer is constructing some functions in Python. When is a function referred to as a module in Python?

Question:
A developer is constructing some functions in Python. When is a function referred to as a module in Python?

  • when the function is declared during the execution of a Python program
  • when the function is initiated during the execution of a Python program
  • when the function is packaged in a single Python file
  • when the function is used for the first time

Related exam: DevNet Associate (v1.0) – Module 3 Exam Answers