From 6f155876eee25e7db2b3080e0bf2a737d1201073 Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Tue, 27 Jun 2017 19:43:53 +0700 Subject: Clean up --- others/153x/060.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'others/153x/060.py') diff --git a/others/153x/060.py b/others/153x/060.py index bfbf0cc..66da821 100755 --- a/others/153x/060.py +++ b/others/153x/060.py @@ -2,10 +2,6 @@ from fractions import Fraction -def dec_div(n): - return n, l2, l5 - - def decimal(fraction): a, b, l2, l5 = fraction.numerator, fraction.denominator, 0, 0 if b == 1: return '{}\n'.format(a) @@ -26,5 +22,4 @@ def decimal(fraction): with open('DECIMAL.INP') as fi, open('DECIMAL.OUT', 'w') as fo: - for line in fi: - fo.write(decimal(Fraction(*map(int, line.split())))) + for line in fi: fo.write(decimal(Fraction(*map(int, line.split())))) -- cgit 1.4.1