[Python/2016] Move solutions into .py files
This commit is contained in:
parent
0269ad8fc3
commit
2514b1d11f
50 changed files with 1172 additions and 3386 deletions
6
Python/2016/06.py
Normal file
6
Python/2016/06.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from lib import *
|
||||
|
||||
input = read_input(2016, 6)
|
||||
|
||||
print("".join([Counter(x).most_common(1)[0][0] for x in zip(*input.splitlines())]))
|
||||
print("".join([Counter(x).most_common()[-1][0] for x in zip(*input.splitlines())]))
|
Loading…
Add table
Add a link
Reference in a new issue