diff --git a/mathgenerator/funcs/geometry/volume_pyramid.py b/mathgenerator/funcs/geometry/volume_pyramid.py index 08a86bc..f69d2a9 100644 --- a/mathgenerator/funcs/geometry/volume_pyramid.py +++ b/mathgenerator/funcs/geometry/volume_pyramid.py @@ -9,7 +9,7 @@ def gen_func(maxLength=20, maxWidth=20, maxHeight=50, unit='m', format='string') ans = (l*w*h)/3 if format == 'string': - problem = f"Volume of cone with base length = {l} {unit}, base width = {w} {unit} and height = {h} {unit} is" + problem = f"Volume of pyramid with base length = {l} {unit}, base width = {w} {unit} and height = {h} {unit} is" solution = f"{ans} {unit}^3" return problem, solution elif format == 'latex':