input: Write a python function to analyze the sentiment of a given text using TextBlob.
  assert analyze_sentiment("The movie was great! I really enjoyed watching it.") == 0.8
  assert analyze_sentiment("The food was awful and the service was terrible.") == -0.9
  assert analyze_sentiment("It was an average experience, nothing special.") == 0.0
output: from textblob import TextBlob
  
  def analyze_sentiment(text):
      analysis = TextBlob(text)
      return analysis.sentiment.polarity