What is the expected output of the following code?import sysimport mathb1 = type(dir(math)) is listb2 = type(sys.path) is listprint(b1 and b2)
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.)
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()
With regards to the directory structure below, select the proper forms of the directives in order to import module_c. (Choose two.)
Which one of the platform module functions should be used to determine the underlying platform name?
What is true about Python packages? (Choose two.)