Skip to content

Commit fc132ea

Browse files
committed
Fix long line
1 parent 660b0ae commit fc132ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chapter5/solutions/estimate_circle_area.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ def estimate(radius, total_points):
2525
radius = float(input('Radius: '))
2626
area_of_circle = math.pi*radius**2
2727
for points in [10**3, 10**5, 10**6]:
28-
print('Area: {0}, Estimated ({1}): {2}'.format(area_of_circle, points, estimate(radius, points)))
28+
print('Area: {0}, Estimated ({1}): {2}'.
29+
format(area_of_circle, points, estimate(radius, points)))

0 commit comments

Comments
 (0)