From 3aa18e3199151517ff3de280aa43e524a9504c6f Mon Sep 17 00:00:00 2001 From: Abigail Date: Sun, 3 Oct 2021 21:49:33 +0200 Subject: Remove unused code --- challenge-132/abigail/node/ch-1.js | 2 -- challenge-132/abigail/python/ch-1.py | 8 -------- 2 files changed, 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) - -- cgit