Skip to content

Commit 202e9ad

Browse files
committed
Fix long line
1 parent fc132ea commit 202e9ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chapter5/solutions/estimate_pi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ def estimate(total_points):
2323

2424
if __name__ == '__main__':
2525
for points in [10**3, 10**5, 10**6]:
26-
print('Known value: {0}, Estimated ({1}): {2}'.format(math.pi, points, estimate(points)))
26+
print('Known value: {0}, Estimated ({1}): {2}'.
27+
format(math.pi, points, estimate(points)))

0 commit comments

Comments
 (0)