Move files to subject folders

This commit is contained in:
lukew3
2020-11-20 20:17:28 -05:00
parent ef8b266845
commit 5367e5a151
120 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from .__init__ import *
from numpy import pi
def degreeToRadFunc(max_deg=360):
a = random.randint(0, max_deg)
b = (pi * a) / 180
b = round(b, 2)
problem = "Angle " + str(a) + " in radians is = "
solution = str(b)
return problem, solution
degree_to_rad = Generator("Degrees to Radians", 86, "Angle a in radians is = ",
"b", degreeToRadFunc)