我如何获得随机decimal.Decimal实例?似乎随机模块只返回浮点数,这是一个转换为小数的皮塔饼.
decimal.Decimal
python random decimal
decimal ×1
python ×1
random ×1