aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-06 13:24:51 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-06 13:25:41 +0100
commit483fcc9a22ff6d2295ccaae1da077be6e2ce4aa9 (patch)
tree21100751948f0618fec16b8d11db52cb1cf54e05 /src
parentm (diff)
downloadmedian-483fcc9a22ff6d2295ccaae1da077be6e2ce4aa9.tar.gz
median-483fcc9a22ff6d2295ccaae1da077be6e2ce4aa9.tar.bz2
median-483fcc9a22ff6d2295ccaae1da077be6e2ce4aa9.tar.xz
remove debug line
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xsrc/median3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/median b/src/median
index e027526..34dcc0d 100755
--- a/src/median
+++ b/src/median
@@ -73,8 +73,7 @@ for value, key in lines:
elif low_minus or high_minus: prefix = '0'
else: prefix = ''
median = prefix + median
- if median != last.split(' ')[2]:
- print(median + last)
+ print(median + last)
last, values = key, []
values.append(value)