input: Write a function to create a Text-to-Speech Python application that reads out a given sentence. The function should use the pyttsx3 library to initialize the text-to-speech engine, speak the provided sentence, and then wait for the speech to complete.
  
  
  import pyttsx3
  
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()
      
  assert text_to_speech("Hello, this is a simple sentence") is None
  assert text_to_speech("Welcome to the Text-to-Speech application") is None
  
output: def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()