input: Write a function that converts a given sentence into spoken words using a Text-to-Speech (TTS) engine. The function should initialize the TTS engine, speak the sentence, and wait for the speech to complete. The function should work with any simple sentence provided.
  
  
  import pyttsx3
  
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()
      
  text_to_speech("Hello, this is a simple sentence.")
  
output: import pyttsx3
  
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()