Changed file names to match the project standards

This commit is contained in:
Nitsujed
2020-10-21 11:43:22 -04:00
parent 86750f5867
commit 0c10fb8bc3
2 changed files with 6 additions and 6 deletions

View File

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

View File

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