thumbnail
用Python估计π的方法
如图,随机向一个边长为 1 1 1的正方形里投 n n n个豆子,假设其中有 k k k个落在了 1…