input: Write a function to read out a simple sentence using Text-to-Speech in Python. The function should take a single string as input and use the pyttsx3 library to convert the text to speech.
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()
  
  assert text_to_speech("Hello, this is a simple sentence")==None
output: def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()