diff options
| author | Abigail <abigail@abigail.freedom.nl> | 2021-12-13 13:38:44 +0100 |
|---|---|---|
| committer | Abigail <abigail@abigail.freedom.nl> | 2021-12-13 14:39:54 +0100 |
| commit | 13ebea25187e04a08fb804ce8496c67dc373000b (patch) | |
| tree | 5b5468bdfc3cdba8d997912da193351b1c742c93 /challenge-143/abigail/python/ch-1.py | |
| parent | a9419595b246ec2ba94db259326024b980513dc3 (diff) | |
| download | perlweeklychallenge-club-13ebea25187e04a08fb804ce8496c67dc373000b.tar.gz perlweeklychallenge-club-13ebea25187e04a08fb804ce8496c67dc373000b.tar.bz2 perlweeklychallenge-club-13ebea25187e04a08fb804ce8496c67dc373000b.zip | |
Eval solutions for week 143, part 1
Diffstat (limited to 'challenge-143/abigail/python/ch-1.py')
| -rw-r--r-- | challenge-143/abigail/python/ch-1.py | 13 |
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)) |
