Skip to content

Commit 1653325

Browse files
committed
Fix comment issue
1 parent 2c0dc9a commit 1653325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/monte_carlo/code/python/monte_carlo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44

55
def in_circle(x, y):
6-
radius = 1.0
76
"""Return True if the point is in the circle and False otherwise."""
7+
radius = 1.0
88
return (x*x + y*y) < radius*radius
99

1010
def monte_carlo(n_samples):

0 commit comments

Comments
 (0)