Skip to content

Instantly share code, notes, and snippets.

Alex Meub meub

Block or report user

Report or block meub

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@meub
meub / pi-monte-carlo.py
Created Mar 14, 2019 — forked from louismullie/pi-monte-carlo.py
Monte Carlo Estimation of PI in Python
View pi-monte-carlo.py
import random as r
import math as m
# Number of darts that land inside.
inside = 0
# Total number of darts to throw.
total = 1000
# Iterate for the number of darts.
for i in range(0, total):
You can’t perform that action at this time.