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.
  
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()
  
  assert text_to_speech("Hello, this is a simple sentence")==None
  assert text_to_speech("Testing the functionality")==None
output: def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()