Answer the following question:
i) What is Python Module?
ii) Write a command to import statistics module?
iii) Shardul wants to calculate the square root of a number. Which function and module will help Shardul ?
iv) In which language built-in modules written?
Answers
Answered by
0
Answer:
good question
Answered by
1
The answers for the following questions are as
(i)
Answer:
A Python Module is a file which contains a statements and definition.
A module can also defines classes, definition and variables.
(ii)
Answer:
The command is
statistics import <function_name>
where <function_name> is the name of the function you want to use.
(iii)
Answer:
we use Math module's sqrt() function to find the square root of a given number.
(iv)
Answer:
Built-in modules are written in C and integrated with the Python shell.
Similar questions