Générez un script en Python qui convertira les nombres donnés en mots.
def get_string(number):\n if(number == 0): \n return 'zero' \n if (number < 0): \n return 'minus ' + get_string(-1 * number) \n \n if (nombre > 0): \n \na = ["","un ","deux ","trois ","quatre", "cinq ","six ","sept ","huit ","neuf" "," dix "," onze "," douze "," treize "," quatorze "," quinze "," seize "," dix-sept "," dix-huit "," dix-neuf "] \n \nb = ["", ""," vingt "," trente "," quarante ", "cinquante "," soixante "," soixante-dix "," quatre-vingt "," quatre-vingt-dix "] \n \n si (nombre < 20): \n renvoie un [nombre] \n\n if (nombre < 100): \n return b[number//10] + get_string(number%10) \n \n return get_string(number//100) + "cent" + get_string( nombre%100)