linter fix

This commit is contained in:
lukew3
2020-10-19 14:24:24 -04:00
parent 03e425a18e
commit f204de60f6
2 changed files with 7 additions and 3 deletions

View File

@@ -83,3 +83,4 @@ from .determinantToMatrix22 import *
from .compoundInterestFunc import *
from .deciToHexaFunc import *
from .percentageFunc import *
from .celsiustofahrenheit import *

View File

@@ -1,6 +1,7 @@
from .__init__ import *
from ..__init__ import Generator
def celsiustofahrenheitFunc(maxTemp=100):
celsius = random.randint(-50, maxTemp)
fahrenheit = (celsius * (9 / 5)) + 32
@@ -8,4 +9,6 @@ def celsiustofahrenheitFunc(maxTemp=100):
solution = str(fahrenheit)
return problem, solution
celsiustofahrenheit = Generator("Celsius To Fahrenheit", 81, "(C +(9/5))+32=", "F", celsiustofahrenheitFunc)
celsiustofahrenheit = Generator("Celsius To Fahrenheit", 81,
"(C +(9/5))+32=", "F", celsiustofahrenheitFunc)