Moved 2022 to own dir
This commit is contained in:
14
2022/16/p.py
Normal file
14
2022/16/p.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user