nerdexam
Python_Institute

PCAP-31-03 · Question #120

With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Select two answers)

The correct answer is A. from pypack.upper.lower import module_c B. import pypack.upper.lower.module_c. See the full explanation below for the reasoning.

Question

With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Select two answers)

Options

  • Afrom pypack.upper.lower import module_c
  • Bimport pypack.upper.lower.module_c
  • Cimport upper.module_c
  • Dimport upper.lower.module_c

How the community answered

(31 responses)
  • A
    74% (23)
  • C
    10% (3)
  • D
    16% (5)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice