Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bfaf2b9

Browse files
author
Amogh Singhal
authored
Update estimate_pi.py
1 parent bf429ca commit bfaf2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎estimate_pi.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
from math import pi as PI
33

4-
def estimate_pi(sims=100):
4+
def estimate_pi(sims):
55
"""
66
takes the number of simulations as input to estimate pi
77
"""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /