renamed modules and generators to fit pep8

This commit is contained in:
lukew3
2020-10-20 11:30:55 -04:00
parent 2ac4032b8a
commit cbede21ddf
90 changed files with 241 additions and 321 deletions

View File

@@ -0,0 +1,13 @@
from .__init__ import *
def celsiustofahrenheitFunc(maxTemp=100):
celsius = random.randint(-50, maxTemp)
fahrenheit = (celsius * (9 / 5)) + 32
problem = "Convert " + str(celsius) + " degrees Celsius to degrees Fahrenheit ="
solution = str(fahrenheit)
return problem, solution
celsius_to_fahrenheit = Generator("Celsius To Fahrenheit", 81,
"(C +(9/5))+32=", "F", celsiustofahrenheitFunc)