Números grandes en inglés

Escribe una función que solo acepte enteros y devuelva su representación en inglés.

  • La función se probará con enteros grandes en el intervalo (-1e+93, 1e+93).
  • No se usan guiones (es decir, "fifty four" y no "fifty-four").
  • No se usa la palabra 'and' (es decir, "five hundred six" y no "five hundred and six").
  • Se deben usar comas para separar grupos de números (consulta el ejemplo #3, #4 y #5).

Ejemplos

numbers_to_english(-5) ➞ "negative five"

numbers_to_english(0) ➞ "zero"

numbers_to_english(1200) ➞ "one thousand, two hundred"

numbers_to_english(123000123) ➞ "one hundred twenty three million, one hundred twenty three"

numbers_to_english(8923759857239857692) ➞ "eight quintillion, nine hundred twenty three quadrillion, seven hundred fifty nine trillion, eight hundred fifty seven billion, two hundred thirty nine million, eight hundred fifty seven thousand, six hundred ninety two"

numbers_to_english(-791283587162385761293875612) ➞ "negative seven hundred ninety one septillion, two hundred eighty three sextillion, five hundred eighty seven quintillion, one hundred sixty two quadrillion, three hundred eighty five trillion, seven hundred sixty one billion, two hundred ninety three million, eight hundred seventy five thousand, six hundred twelve"

Notas

N/A