Machine Learning, Data Science.
estimate_pi(samples=10) estimate_pi(samples=100) estimate_pi(samples=1000) estimate_pi(samples=10000) estimate_pi(samples=100000) estimate_pi(samples=1000000) Estimate with 10 samples: 3.2 Estimate with 100 samples: 3.12 Estimate with 1000 samples: 3.172 Estimate with 10000 samples: 3.1352 Estimate