a. A function can belong to a module and the module can belong to a
package.
Answer
True
b. A package can contain one or more modules in it.
Answer
True
c. Nested packages are allowed.
Answer
True
d. Contents of sys.path variable cannot be modified.
Answer
False
e. In the statement import a.b.c, c cannot be a function.
Answer
True
f. It is a good idea to use * to import all the functions/classes defined in a
module.
Answer
True
0 Comments:
Post a Comment