From 60f2a4a02f6569cb81fd4fac2ef29e3a5ac4e2ed Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 18 Jul 2019 02:26:10 -0500 Subject: [PATCH] roman numeral edit --- python/roman-numerals/roman_numerals.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/roman-numerals/roman_numerals.py b/python/roman-numerals/roman_numerals.py index a016c88..d771491 100644 --- a/python/roman-numerals/roman_numerals.py +++ b/python/roman-numerals/roman_numerals.py @@ -21,7 +21,4 @@ def roman(n): best = max(numerals.keys(), key=lambda item : 0 if item > n else item) n -= best res += numerals[best] - return res - -for i in range(2950, 35000, 13): - print('{} -> {}'.format(i, roman(i))) \ No newline at end of file + return res \ No newline at end of file