mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Changed file names to match the project standards
This commit is contained in:
@@ -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())
|
||||
@@ -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())
|
||||
Reference in New Issue
Block a user