@@ -0,0 +1,574 @@
+#  File:       roman_numerals.py%0A#  Purpose:    Function to convert from normal numbers to Roman Numerals.%0A#  Programmer: Amal Shehu%0A#  Course:     Exercism%0A#  Date:       Saturday 17 September 2016, 03:30 PM%0A%0Anumerals = tuple(zip(%0A    (1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1),%0A    ('M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I')%0A))%0A%0A%0Adef roman_numerals(num):%0A    roman = %5B%5D%0A    for number, numeral in numerals:%0A        swing = num // number%0A        roman.append(numeral * swing)%0A        num -= number * swing%0A    return ''.join(roman)%0A

Convert to roman numerals