input: Write a function to query Twitter to get the most recent tweets from a user. The function should authenticate using OAuth and return the text of the most recent tweets. If the user does not exist or no tweets are available, the function should return an empty list.
  
  
  def get_recent_tweets(username):
      import tweepy
      
      # Authenticate to Twitter
      auth = tweepy.OAuthHandler("CONSUMER_KEY", "CONSUMER_SECRET")
      auth.set_access_token("ACCESS_TOKEN", "ACCESS_TOKEN_SECRET")
      
      # Create API object
      api = tweepy.API(auth)
      
      # Get the most recent tweets from the given user
      tweets = api.user_timeline(screen_name=username)
      
      # Extract the text of the tweets
      tweet_texts = [tweet.text for tweet in tweets]
      
      return tweet_texts
  
  
  assert get_recent_tweets("@elonmusk")==["First tweet", "Second tweet"]
  assert get_recent_tweets("@nonexistentuser")==[]
  assert get_recent_tweets("")==[]
output: def get_recent_tweets(username):
      import tweepy
      
      # Authenticate to Twitter
      auth = tweepy.OAuthHandler("CONSUMER_KEY", "CONSUMER_SECRET")
      auth.set_access_token("ACCESS_TOKEN", "ACCESS_TOKEN_SECRET")
      
      # Create API object
      api = tweepy.API(auth)
      
      try:
          # Get the most recent tweets from the given user
          tweets = api.user_timeline(screen_name=username, count=10)
      except tweepy.TweepError:
          return []
      
      # Extract the text of the tweets
      tweet_texts = [tweet.text for tweet in tweets]
      
      return tweet_texts