From 11c3215a3de61e277a9901a254fb6f2b7bb0d0ff Mon Sep 17 00:00:00 2001 From: jsun1590 Date: Sun, 10 Oct 2021 16:40:57 +0800 Subject: [PATCH] fixed problem sentence structure --- mathgenerator/funcs/misc/product_of_scientific_notations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathgenerator/funcs/misc/product_of_scientific_notations b/mathgenerator/funcs/misc/product_of_scientific_notations index 0c1ecd4..1d537b4 100644 --- a/mathgenerator/funcs/misc/product_of_scientific_notations +++ b/mathgenerator/funcs/misc/product_of_scientific_notations @@ -12,7 +12,7 @@ def gen_func(minExpVal=-100, maxExpVal=100, format='string'): if format == 'string': problem = "Product of scientific notations: " + \ - str(a[0])+"x10^"+str(a[1]) + " " + str(b[0])+"x10^"+str(b[1]) + " = " + str(a[0])+"x10^"+str(a[1]) + " and " + str(b[0])+"x10^"+str(b[1]) + " = " solution = str(round(c[0], 2))+"x10^"+str(c[1]) return problem, solution elif format == 'latex':