We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc132ea commit 202e9adCopy full SHA for 202e9ad
chapter5/solutions/estimate_pi.py
@@ -23,4 +23,5 @@ def estimate(total_points):
23
24
if __name__ == '__main__':
25
for points in [10**3, 10**5, 10**6]:
26
- print('Known value: {0}, Estimated ({1}): {2}'.format(math.pi, points, estimate(points)))
+ print('Known value: {0}, Estimated ({1}): {2}'.
27
+ format(math.pi, points, estimate(points)))
0 commit comments