CBSE Class 12 Computer Science Question 43 of 62

Using Python Libraries — Question 11

Back to all questions
11
Question

Question 11

Name the Python Library modules which need to be imported to invoke the following functions :

(i) log()

(ii) pow()

(iii) cos

(iv) randint

(v) sqrt()

Answer

The Python Library modules required to be imported for these functions are:

FunctionsPython library module
log()math
pow()Built-in function
cosmath
randintRandom
sqrt()math