Files
tunmnlu/task_1/Q1/bundle/test_edge.py
louiscklaw 9035c1312b update,
2025-02-01 02:09:32 +08:00

10 lines
188 B
Python

import os,sys
test = []
temp = ""
with open('./edges.csv','r') as fi:
test = list(map(lambda x: x.strip(), fi.readlines()))
test = test[1:]
print(len(test))
print(len(set(test)))