#!/usr/bin/env python3 from random import choice, choices, randint, sample, seed, shuffle import sys MX = 100000 seed(int(sys.argv[1])) # on one side all the points, on the other side all the lines perxy = [[*range(0,MX//2)], [*range(MX//2-2,MX-2)]] lab = set() while len(lab)