What is true about Python packages? (Choose two.)
Answer : AC
What is the expected output of the following code?
import sys
import math
b1 = type(dir(math)) is list
b2 = type(sys.path) is list
print(b1 and b2)
Answer : B
A Python package named pypack includes a module named pymod.py which contains a function named pyfun().
Which of the following snippets will let you invoke the function? (Choose two.)
Answer : AD
Assuming that the code below has been executed successfully, which of the following expressions will always evaluate to True? (Choose two.) import random v1 = random.random() v2 = random.random()
Answer : BC
With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Choose two.)
Answer : AB