Computer Science, asked by mayuri5261, 9 months ago

What is the utility of Python standard library’s math module and random module ?

Answers

Answered by jaisanthiram
8

Answer:

follow me so I will give you answer for you question

Answered by letmeanswer12
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