diff options
| author | Abigail <abigail@abigail.be> | 2021-10-03 21:49:33 +0200 |
|---|---|---|
| committer | Abigail <abigail@abigail.be> | 2021-10-03 21:49:33 +0200 |
| commit | 3aa18e3199151517ff3de280aa43e524a9504c6f (patch) | |
| tree | 6447162bda3efab7a2f605cbf17f3b33918a2b2f | |
| parent | 38e4e54c3af03828f3bef1b5b66de6d6945baac6 (diff) | |
| download | perlweeklychallenge-club-3aa18e3199151517ff3de280aa43e524a9504c6f.tar.gz perlweeklychallenge-club-3aa18e3199151517ff3de280aa43e524a9504c6f.tar.bz2 perlweeklychallenge-club-3aa18e3199151517ff3de280aa43e524a9504c6f.zip | |
Remove unused code
| -rw-r--r-- | challenge-132/abigail/node/ch-1.js | 2 | ||||
| -rw-r--r-- | challenge-132/abigail/python/ch-1.py | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/challenge-132/abigail/node/ch-1.js b/challenge-132/abigail/node/ch-1.js index e7f937e4b3..69f4a996b9 100644 --- a/challenge-132/abigail/node/ch-1.js +++ b/challenge-132/abigail/node/ch-1.js @@ -8,8 +8,6 @@ // Run as: node ch-1.js < input-file // -const util = require ('util') - function int (x) { if (x < 0) { return Math . ceil (x) diff --git a/challenge-132/abigail/python/ch-1.py b/challenge-132/abigail/python/ch-1.py index 0f70d519e4..e8f339af2b 100644 --- a/challenge-132/abigail/python/ch-1.py +++ b/challenge-132/abigail/python/ch-1.py @@ -8,16 +8,8 @@ # Run as: python ch-1.py < input-file # -import math import fileinput -def _int (x): - if x < 0: - return math . ceil (x) - else: - return math . floor (x) - - def g2j (Y, M, D): return (int ((1461 * (Y + 4800 + int ((M - 14) / 12))) / 4) + int ((367 * (M - 2 - 12 * int ((M - 14) / 12))) / 12) - |
