What is the utility of Python standard library’s math module and random module ?
Answers
Answered by
8
Answer:
follow me so I will give you answer for you question
Answered by
10
The standard library of Python math module and random module provides a wide variety of facilities.
Explanation:
- The math module is a collection of mathematical functions. They can be used on floats or integers, but are primarily intended for floats, and typically return floats.
- We use the random module in Python to generate pseudo-random numbers and do a few more things that rely on randomness. The module's core function produces a random float between 0 and 1, and most of the other functions originate from it.
Similar questions
Math,
5 months ago
India Languages,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Biology,
1 year ago
Math,
1 year ago
English,
1 year ago