Computer Science, asked by stuvaishnavi1477, 7 months ago

Which command(s) modifies the current namespace for each of the 1

imported object name?

(i) import<module> (ii) import<module1>, <module2>

(iii) from<module> import<object> (iv) from <module> import*​

Answers

Answered by himanshu2003sahrawat
4

Answer:D:from<import>import*

Explanation:(*) will accept all objects from the given module and thus can modify namespace.

Answered by vinod04jangid
0

Answer:

(iii) from <module> import <object>

Explanation:

A module is a collection of source files that allows us to divide our project into different functions. A project can have one or many modules, and one module may use another module as a dependency.

import<module> imports the particular module that user needs.

import<module1>, <module2> imports module1 as well as module2 to be used in the program.

from<module> import<object>, it imports a particular from the mentioned module.

from <module> import*​, this statement imports all the methods and objects from the particular module.

#SPJ3

Similar questions