<prompt> Tengeneza programu ambayo inachukua nambari kati ya 0 na 9,999 na kuchapisha toleo linalotamkwa la nambari hiyo.  <response>: def convert_to_spokennambari: ikiwa sio nambari: kurudi sifuri ikiwa nambari 9999: chapaNambari lazima iwe ndogo kuliko 10,000 kurudi single 1: moja, 2: mbili, 3: tatu, 4: nne, 5: tano, 6: sita, 7: saba, 8: nane, 9: tisa vijana 10: kumi, 11: kumi na moja, 12: kumi na mbili, 13: kumi na tatu, 14: kumi na nne, 15: kumi na tano, 16: kumi na sita, 17: kumi na saba, 18: kumi na nane, 19: kumi na tisa makumi 2: ishirini, 3: thelathini, 4: arobaini, 5: hamsini, 6: sitini, 7: sabini, 8: themanini, 9: tisini, tengeneza orodha ya hatua kulingana na urefu wa nambari hatua elfu, 1000000, mia, 1000, , 0 gawanya nambari katika tarakimu 3 kila moja tarakimu wakati nambari 0: r nambari 1000 tarakimu.ingiza0, r nambari 1000 spoke_num badilisha kila tarakimu 3 hadi umbizo linalozungumzwa kwa mimi, chimba kwa kuhesabu tarakimu: ukichimba 0: endelea lbl, hatua hatuai a, b divmodchimba, hatua ongeza_nambari_ya_kuzungumzabadilisha_kuwa_kuzungumza_3chimbaa, b, single, vijana, makumi ongeza_nambari_ya_maneno lbl rudisha .jiungenambari_iliyotamkwadef convert_to_spoken_3diga, b, single, teens, tens: nambari_zilizosemwa badilisha mamia ya mahali kama a: spoke_nums.appendsinglesa mia badilisha mahali pa kumi ikiwa b: ikiwa b katika single: nambari_zilizosemwa.ambatanishawasiopwekeb elif b katika ujana: nambari_zilizosemwa.ongeza vijanab kwingine: t, o divmodb, 10 Maneno_ya_maneno.ongeza makumit ikiwa o: Maneno_ya_maneno.ambatanishawasiopwekeo rudisha .jiungenambari_zilizoongea 