power of powers fix

This commit is contained in:
lukew3
2020-10-21 21:37:29 -04:00
parent d73b509dcc
commit 3bb6c6f85e
4 changed files with 100 additions and 100 deletions

View File

@@ -101,3 +101,4 @@ from .set_operation import *
from .base_conversion import *
from .curved_surface_area_cylinder import *
from .perimeter_of_polygons import *
from .power_of_powers import *

View File

@@ -1,5 +1,4 @@
from .__init__ import *
from ..__init__ import Generator
def powerOfPowersFunc(maxBase=50, maxPower=10):
@@ -17,5 +16,5 @@ def powerOfPowersFunc(maxBase=50, maxPower=10):
return problem, solution
power_of_powers = Generator("Power of Powers", 82,
power_of_powers = Generator("Power of Powers", 97,
"6^4^2 = 6^(4*2) = 6^6", "46656", powerOfPowersFunc)