摘要: class ProbabilityStatistics: @staticmethoddef simulation_of_probability(v, ratio=10000): assert v >= 0 and v <= 1_v = int(v * ratio) complement = rati 阅读全文
posted @ 2020-08-19 20:19 papering 阅读(163) 评论(0) 推荐(0) 编辑
摘要: class CacheMiddleware(UpdateCacheMiddleware, FetchFromCacheMiddleware): 阅读全文
posted @ 2020-08-19 19:47 papering 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/Pmut13GYP-kwR2xm8fH-7Q 阅读全文
posted @ 2020-08-19 09:36 papering 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/lLgeKMzT4Q938Ij0r75t8Q 阅读全文
posted @ 2020-08-19 09:34 papering 阅读(585) 评论(0) 推荐(0) 编辑