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 d80f3ed commit 6bbdd98Copy full SHA for 6bbdd98
maths/area.py
@@ -235,7 +235,7 @@ def lateral_surface_cylinder(radius: float, height: float) -> float:
235
Formula: 2 * pi * r * h
236
237
>>> lateral_surface_cylinder(10, 20)
238
- 702.4814731040726
+ 1256.6370614359173
239
>>> lateral_surface_cylinder(6, 8)
240
301.59289474462014
241
>>> lateral_surface_cylinder(0, 0)
@@ -636,3 +636,4 @@ def area_reg_polygon(sides: int, length: float) -> float:
636
print(f"Equilateral Triangle: {area_reg_polygon(3, 10) = }")
637
print(f"Square: {area_reg_polygon(4, 10) = }")
638
print(f"Reqular Pentagon: {area_reg_polygon(5, 10) = }")
639
+
0 commit comments