Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 Python 中的指数分布中提取随机数的最简单方法是什么?
random.expovariate当然。
您可以使用该random模块。有关更多信息,请参阅其文档。
random