NEW
Font size
WorksheetsLesson 29 - Introduction to module
Total questions: 10
Worksheet time: 5mins
which keyword is used to import the modules in the python ?
import
importing
imported
none
if we only import the module then we need to use the function like -
function
module.function()
both
none
which statement is true about a module ?
module is the python program which describes functions, classes or variables.
module is a function in python
module can be anything in python
none
In how many ways we can import a module ?
1
2
3
none
What will be the output of the following code ?
321
345
34
none
python modules are saved with the extension -
.mod
.module
.py
none
Which python data type is immutable is nature ?
list
tuple
set
string
Which of the following operator is used to compare operator -
!=
<=
==
all of the above
Which of the following is known as the bitwise operator -
and
&
==
none
What will be the output of the following code ?
25
0
5
none
