7 lines
272 B
Python
7 lines
272 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
scores = [{"A X":4,"A Y":8,"A Z":3,"B X":1,"B Y":5,"B Z":9,"C X":7,"C Y":2,"C Z":6}, {"A X":3,"A Y":4,"A Z":8,"B X":1,"B Y":5,"B Z":9,"C X":2,"C Y":6,"C Z":7}]
|
||
|
|
||
|
print([sum([i[x] for x in open("02/input.txt").read().split("\n")]) for i in scores])
|
||
|
|