From 5a73fd335c50841d4f7a3e2d794321cc17185033 Mon Sep 17 00:00:00 2001 From: Nuclear03020704 Date: Tue, 28 Dec 2021 06:55:44 +0700 Subject: [PATCH] Fix volume_pyramid generator description --- mathgenerator/funcs/geometry/volume_pyramid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':