From 13ebea25187e04a08fb804ce8496c67dc373000b Mon Sep 17 00:00:00 2001 From: Abigail Date: Mon, 13 Dec 2021 13:38:44 +0100 Subject: Eval solutions for week 143, part 1 --- challenge-143/abigail/python/ch-1.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 challenge-143/abigail/python/ch-1.py (limited to 'challenge-143/abigail/python') 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)) -- cgit