input: Write a python function to predict the sentiment of a given text using TextBlob.
  assert predict_sentiment('I love this place!') == (0.5, 'positive')
  assert predict_sentiment('I hate this place!') == (-0.8, 'negative')
  assert predict_sentiment('This is an average day.') == (0.0, 'positive')
output: def predict_sentiment(text):
      from textblob import TextBlob
      blob = TextBlob(text)
      polarity = blob.sentiment.polarity
      if polarity > 0:
          sentiment = 'positive'
      elif polarity < 0:
          sentiment = 'negative'
      else:
          sentiment = 'positive'
      return (polarity, sentiment)