Skip to content

Commit 95bc04c

Browse files
committed
Removed whitespaces
1 parent 3323ed3 commit 95bc04c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy_questions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ def wallis_product(n_terms):
7272
# XXX : The n_terms is an int that corresponds to the number of
7373
# terms in the product. For example 10000.
7474
product = 1.0
75-
75+
7676
for n in range(1, n_terms + 1):
7777
term = (4 * n**2) / (4 * n**2 - 1)
7878
product *= term
79-
79+
8080
pi_approx = 2 * product
8181
return pi_approx

0 commit comments

Comments
 (0)