input: Write a function to create a Text-to-Speech Python application that takes a sentence as input and reads it out loud. The function should use the pyttsx3 library to handle the text-to-speech conversion. If the function runs successfully, it should output the spoken sentence.
  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("This is another sentence to read aloud") is None
output: def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()