mathgenerator
mathgenerator copied to clipboard
the implement of surface_area_pyramid is wrong
Bug Description
height, half_width, triangle_height_1 = random.sample(random.choice(_PYTHAGOREAN), 3)
triangle_height_1 and triangle_height_2 should be calculated by height, not random generated.