Python_Institute
PCAP-31-03 · Question #4
With regards to the directory structure below, select the proper forms of the directives in order to import module_A. (Select two answers)
The correct answer is A. import pypack.module_a D. from pypack import module_a. 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_A. (Select two answers)
Exhibit
Options
- Aimport pypack.module_a
- Bimport module_a from pypack
- Cimport module_a
- Dfrom pypack import module_a
How the community answered
(43 responses)- A81% (35)
- B5% (2)
- C14% (6)
Community Discussion
No community discussion yet for this question.
