aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2020-12-08 21:53:34 +0100
committerLouis Burda <quent.burda@gmail.com>2020-12-08 21:53:34 +0100
commit61c19fd58a9c32919b9b06d38dd9ba202cf43bfb (patch)
tree716d58ee8979d3df123acfedcd5cb8472722d422 /data
downloadaoc2018-python-61c19fd58a9c32919b9b06d38dd9ba202cf43bfb.tar.gz
aoc2018-python-61c19fd58a9c32919b9b06d38dd9ba202cf43bfb.zip
Solve 25 days
Diffstat (limited to 'data')
-rw-r--r--data/template.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/template.py b/data/template.py
new file mode 100644
index 0000000..93b6e58
--- /dev/null
+++ b/data/template.py
@@ -0,0 +1,25 @@
+from sys import argv as args
+
+file = open("input.txt")
+sinput = file.read()
+file.close()
+
+def parseLine():
+ return
+
+sinput = [parseLine(l) for l in sinput.split("\n")]
+
+def solve1():
+ return
+
+def solve2():
+ return
+
+def main():
+ if len(args) > 1:
+ if args[1] == "1":
+ solve1()
+ elif args[1] == "2":
+ solve2()
+
+main()