mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Linter fix
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
from .__init__ import *
|
from .__init__ import *
|
||||||
from numpy import pi
|
from numpy import pi
|
||||||
|
|
||||||
|
|
||||||
def degreeToRadFunc(max_deg=360):
|
def degreeToRadFunc(max_deg=360):
|
||||||
a = random.randint(0, max_deg)
|
a = random.randint(0, max_deg)
|
||||||
b = (pi*a)/180
|
b = (pi * a) / 180
|
||||||
b = round(b, 2)
|
b = round(b, 2)
|
||||||
|
|
||||||
problem = "Angle " + str(a) + " in radians is = "
|
problem = "Angle " + str(a) + " in radians is = "
|
||||||
|
|||||||
Reference in New Issue
Block a user