import random for i in range(100000): j = random.randint(1,10000) k = random.randint(1,10000) print("edge(", j, ",", k, ").")