<prompt> Tayarisha programu ambayo huchukua namba kati ya 0 na 9,999 na kuchapisha toleo la sauti la nambari hiyo.  <response>: Here is a Python program that takes an input number between 0 and 9999 and prints its spoken equivalent in English.def convert_number_to_wordsnum: function to convert numbers to words ones 1: One, 2: Two, 3: Three, 4: Four, 5: Five, 6: Six, 7: Seven, 8: Eight, 9: Nine, 10: Ten, 11: Eleven, 12: Twelve, 13: Thirteen, 14: Fourteen, 15: Fifteen, 16: Sixteen, 17: Seventeen, 18: Eighteen, 19: Nineteen, tens 2: Twenty, 3: Thirty, 4: Forty, 5: Fifty, 6: Sixty, 7: Seventy, 8: Eighty, 9: Ninety, 1000s place if num 0: return Zero thousands num 1000 num num 1000 100s place hundreds num 100 num num 100 answer if thousands ! 0: answer onesthousands Thousand if hundreds ! 0: answer oneshundreds Hundred if num 20 and num ! 0: for numbers between 1 and 19 answer onesnum else: for numbers between 20 and 99 10s place ten num 10 1s place one num 10 if ten ! 0: answer tensten if one ! 0: answer onesone return answer.stripnum intinputEnter a number between 0 and 9999: if num0 