Computer Science
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()
Python Libraries
12 Likes
Answer
The Python Library modules required to be imported for these functions are:
Functions | Python library module |
---|---|
log() | math |
pow() | Built-in function |
cos | math |
randint | Random |
sqrt() | math |
Answered By
4 Likes