quotient of power fixes

This commit is contained in:
lukew3
2020-10-21 21:41:57 -04:00
parent 8556a61551
commit ab00d7eb01
4 changed files with 7 additions and 7 deletions

View File

@@ -102,3 +102,5 @@ from .base_conversion import *
from .curved_surface_area_cylinder import * from .curved_surface_area_cylinder import *
from .perimeter_of_polygons import * from .perimeter_of_polygons import *
from .power_of_powers import * from .power_of_powers import *
from .quotient_of_power_same_base import *
from .quotient_of_power_same_power import *

View File

@@ -1,5 +1,4 @@
from .__init__ import * from .__init__ import *
from ..__init__ import Generator
def quotientOfPowerSameBaseFunc(maxBase=50, maxPower=10): def quotientOfPowerSameBaseFunc(maxBase=50, maxPower=10):
@@ -17,5 +16,5 @@ def quotientOfPowerSameBaseFunc(maxBase=50, maxPower=10):
return problem, solution return problem, solution
quotient_of_power_same_base = Generator("Quotient of Powers with Same Base", 82, quotient_of_power_same_base = Generator("Quotient of Powers with Same Base", 98,
"6^4 / 6^2 = 6^(4-2) = 6^2", "36", quotientOfPowerSameBaseFunc()) "6^4 / 6^2 = 6^(4-2) = 6^2", "36", quotientOfPowerSameBaseFunc)

View File

@@ -1,5 +1,4 @@
from .__init__ import * from .__init__ import *
from ..__init__ import Generator
def quotientOfPowerSamePowerFunc(maxBase=50, maxPower=10): def quotientOfPowerSamePowerFunc(maxBase=50, maxPower=10):
@@ -17,5 +16,5 @@ def quotientOfPowerSamePowerFunc(maxBase=50, maxPower=10):
return problem, solution return problem, solution
quotient_of_power_same_power = Generator("Quotient of Powers with Same Power", 83, quotient_of_power_same_power = Generator("Quotient of Powers with Same Power", 99,
"6^4 / 3^4 = (6/3)^4 = 2^4", "16", quotientOfPowerSamePowerFunc()) "6^4 / 3^4 = (6/3)^4 = 2^4", "16", quotientOfPowerSamePowerFunc)

View File

@@ -10,4 +10,4 @@ for item in list:
print(item[2]) print(item[2])
# print(mathgen.getGenList()) # print(mathgen.getGenList())
print(mathgen.genById(97)) print(mathgen.genById(99))