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 660b0ae commit fc132eaCopy full SHA for fc132ea
chapter5/solutions/estimate_circle_area.py
@@ -25,4 +25,5 @@ def estimate(radius, total_points):
25
radius = float(input('Radius: '))
26
area_of_circle = math.pi*radius**2
27
for points in [10**3, 10**5, 10**6]:
28
- print('Area: {0}, Estimated ({1}): {2}'.format(area_of_circle, points, estimate(radius, points)))
+ print('Area: {0}, Estimated ({1}): {2}'.
29
+ format(area_of_circle, points, estimate(radius, points)))
0 commit comments