aboutsummaryrefslogtreecommitdiff
path: root/challenge-143/abigail/python
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-143/abigail/python')
-rw-r--r--challenge-143/abigail/python/ch-1.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/challenge-143/abigail/python/ch-1.py b/challenge-143/abigail/python/ch-1.py
new file mode 100644
index 0000000000..3b67604548
--- /dev/null
+++ b/challenge-143/abigail/python/ch-1.py
@@ -0,0 +1,13 @@
+#!/opt/local/bin/python
+
+#
+# See ../README.md
+#
+
+#
+# Run as: python ch-1.py < input-file
+#
+
+import fileinput
+
+for line in fileinput . input (): print (eval (line))