mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
pep8 fixes
This commit is contained in:
@@ -4,7 +4,7 @@ from .__init__ import *
|
||||
def regularPolygonAngleFunc(minVal=3, maxVal=20):
|
||||
sideNum = random.randint(minVal, maxVal)
|
||||
problem = f"Find the angle of a regular polygon with {sideNum} sides"
|
||||
|
||||
|
||||
exteriorAngle = round((360 / sideNum), 2)
|
||||
solution = 180 - exteriorAngle
|
||||
return problem, solution
|
||||
|
||||
Reference in New Issue
Block a user