Skip to content
Snippets Groups Projects
Commit 4594fa6b authored by Xu's avatar Xu
Browse files

map1

parent c0207da9
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ def map1(vote_str): ...@@ -12,6 +12,7 @@ def map1(vote_str):
else: else:
ret = vote[j] + ">" + vote[i] + ",0" ret = vote[j] + ">" + vote[i] + ",0"
print(ret) print(ret)
test_ret += ret with open(sys.argv[1]) as f:
test_ret += '\n' lines = f.readlines()
return test_ret for l in lines:
map1(l)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment