input: Write a python function to fetch the sentiment of the top 50 posts in a given subreddit using TextBlob.
  assert analyze_subreddit_sentiment("AskReddit") is not None
  assert type(analyze_subreddit_sentiment("AskReddit")) == list
  assert len(analyze_subreddit_sentiment("AskReddit")) == 50
output: def analyze_subreddit_sentiment(subreddit):
      import praw
      from textblob import TextBlob
  
      # Initialize the Reddit API client
      reddit = praw.Reddit(client_id='your_client_id',
                           client_secret='your_client_secret',
                           user_agent='your_user_agent')
  
      # Fetch the top 50 posts in the given subreddit
      posts = reddit.subreddit(subreddit).top(limit=50)
  
      sentiments = []
  
      for post in posts:
          # Create a TextBlob object and analyze sentiment
          blob = TextBlob(post.title)
          sentiment = blob.sentiment.polarity
          sentiments.append(sentiment)
  
      return sentiments