mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Fixed Lint
This commit is contained in:
@@ -3,10 +3,10 @@ from ..__init__ import Generator
|
||||
|
||||
|
||||
def perimeter_of_polygons(maxSides=12, maxLength=120)->"cm":
|
||||
size_of_sides = random.randint(3,maxSides)
|
||||
size_of_sides = random.randint(3, maxSides)
|
||||
sides = []
|
||||
for x in range(size_of_sides):
|
||||
sides.append(random.randint(1,maxLength))
|
||||
sides.append(random.randint(1, maxLength))
|
||||
problem = "The perimeter of a " + str(size_of_sides) + " sided polygon with lengths of " + str(sides) + "cm is: "
|
||||
solution = 0
|
||||
for y in range(len(sides)):
|
||||
|
||||
Reference in New Issue
Block a user