day 1 and 2

This commit is contained in:
Xevion
2019-07-25 15:40:39 -05:00
parent 8f9225400a
commit a86f66c41a
5 changed files with 1296 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import os, sys, pyperclip
path = os.path.join(sys.path[0], '..', 'input')
data = open(path, 'r').read()
data = map(int, data.split())
data = sum(data)
print(data)
pyperclip.copy(data)