What's the easiest way开发者_Go百科 to draw a random number from an exponential distribution in Python?
random.expovariate of course.
You can use the random
module. For more information, consult its documentation.
What's the easiest way开发者_Go百科 to draw a random number from an exponential distribution in Python?
random.expovariate of course.
You can use the random
module. For more information, consult its documentation.
精彩评论