15 lines
239 B
Python
15 lines
239 B
Python
import os
|
|
|
|
input = open(os.path.dirname(__file__) +
|
|
"/input-demo.txt", "r").readlines()
|
|
|
|
V = {}
|
|
|
|
for l in input:
|
|
d = l.strip().split()
|
|
V[d[1]] = (int(d[4].split('=')[1].split(';')[0]),
|
|
d[9:])
|
|
|
|
|
|
print(V)
|