Skip to content

Commit 2f87cf4

Browse files
authored
Fix typo in spheres intersection print statement
1 parent 788d95b commit 2f87cf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

maths/volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def main():
555555
print(f"Torus: {vol_torus(2, 2) = }") # ~= 157.9
556556
print(f"Conical Frustum: {vol_conical_frustum(2, 2, 4) = }") # ~= 58.6
557557
print(f"Spherical cap: {vol_spherical_cap(1, 2) = }") # ~= 5.24
558-
print(f"Spheres intersetion: {vol_spheres_intersect(2, 2, 1) = }") # ~= 21.21
558+
print(f"Spheres intersection: {vol_spheres_intersect(2, 2, 1) = }") # ~= 21.21
559559
print(f"Spheres union: {vol_spheres_union(2, 2, 1) = }") # ~= 45.81
560560
print(
561561
f"Hollow Circular Cylinder: {vol_hollow_circular_cylinder(1, 2, 3) = }"

0 commit comments

Comments
 (0)