nerdexam
Python_Institute

PCAP-31-03 · Question #129

What is true about Python packages? (Select two answers)

The correct answer is A. the__name__variable always contains the name of a package B. a package is a group of related modules. See the full explanation below for the reasoning.

Question

What is true about Python packages? (Select two answers)

Options

  • Athe__name__variable always contains the name of a package
  • Ba package is a group of related modules
  • Cthe pyc extension is used to mark semi-compiled Python packages
  • Da package is a single file whose name ends with the pa extension

How the community answered

(23 responses)
  • A
    70% (16)
  • C
    22% (5)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice