We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b73567 commit e9b25b3Copy full SHA for e9b25b3
1 file changed
convex-hull/convex-hull.py
@@ -96,7 +96,7 @@ def display(self):
96
def main():
97
ch = ConvexHull()
98
for _ in range(50):
99
- ch.add(Point(random.randint(0, 100), random.randint(0, 100)))
+ ch.add(Point(random.randint(-100, 100), random.randint(-100, 100)))
100
101
print("Points on hull:", ch.get_hull_points())
102
ch.display()
0 commit comments