input: Write a function to create a Text-to-Speech Python application that reads out a provided sentence. The function should initialize a text-to-speech engine, convert the given text to speech, and play it.
  assert text_to_speech("Hello, this is a simple sentence")==None
  assert text_to_speech("Good morning!")==None
  assert text_to_speech("Python programming is fun")==None
output: import pyttsx3
  
  def text_to_speech(sentence):
      engine = pyttsx3.init()
      engine.say(sentence)
      engine.runAndWait()