summaryrefslogtreecommitdiff
path: root/template/python.py
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-09-12 20:54:52 +0100
committermhsn <mail@mhsn.net>2025-09-12 20:55:22 +0100
commitc1a41296795d6faeca4811689563293ed936a80e (patch)
tree3dea282a10acffe9117dc6d2ccb27510eb52c014 /template/python.py
parent6b733982f9f240c1c97f1fa705bfbe4cd93c640e (diff)
downloadaoc-c1a41296795d6faeca4811689563293ed936a80e.tar.gz
aoc-c1a41296795d6faeca4811689563293ed936a80e.zip
update template/python
Diffstat (limited to 'template/python.py')
-rw-r--r--template/python.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/python.py b/template/python.py
new file mode 100644
index 0000000..48a639b
--- /dev/null
+++ b/template/python.py
@@ -0,0 +1,11 @@
+#/usr/bin/env python3
+
+from fileinput import input
+
+lines = [line.strip() for line in input()]
+
+silver = 0
+gold = 0
+
+print("silver:", silver)
+print("gold:", gold)