mirror of
https://github.com/mii443/akaza.git
synced 2025-08-22 14:55:31 +00:00
11 lines
234 B
Python
11 lines
234 B
Python
import sys
|
|
import json
|
|
|
|
fname = sys.argv[1]
|
|
|
|
with open(fname, 'r') as fp:
|
|
data = json.load(fp)
|
|
for first, trailing in data.items():
|
|
for second, score in trailing.items():
|
|
print(f"{first} {second} {score}")
|