 Salá programɛ moko mpo na kobongola makomi na elobeli.
Tala programme ya Python ya pete oyo ebongoli makomi na elobeli na kosalelaka bibliothèque `pyttsx3`: ```python import pyttsx3 def text_to_speech(text): """ Kobongola makomi na elobeli """ engine = pyttsx3.init() engine.say (text) engine.runAndWait() text = 'Mbote, oyo ezali programme ya mbongwana ya makomi na elobeli.' text_to_speech(text) ``` Programme oyo ekotisaka liboso bibliothèque `pyttsx3`, oyo esalelamaka pona kobongola makomi na elobeli. Na sima to définir fonction `text_to_speech` oyo ezuaka eteni ya texte lokola argument. Na kati ya fonction, to initialiser moteur `pyttsx3` pe tosalelaka méthode `say` pona ko passer na texte oyo tolingi to convertir na elobeli. Na sima ba bengi méthode `runAndWait` pona ko traité discours pe kobimisa audio. Tokoki komeka fonction na kolekisa na kati eteni ya texte mpe kosala programme. Esengeli koloba makomi na mongongo makasi na ba haut-parleurs ya ordinateur. Liyebisi: `pyttsx3` ezali bibliothèque ya mbongwana ya makomi na maloba oyo esalaka libanda ya internet, mpe ekokani na Python2 mpe Python3. Esengeli o installer bibliothèque oyo na kosalelaka commande `pip install pyttsx3` avant ya kosala code oyo ezali likolo.