input: Write a python function to get trending topics for a given Twitter page.
  assert 'python' in getTrendingTopics('realpython')
  assert 'news' in getTrendingTopics('BBCBreaking')
  assert 'sports' in getTrendingTopics('ESPN')
output: def getTrendingTopics(username):
      import tweepy
  
      # Replace with your own credentials
      consumer_key = 'your_consumer_key'
      consumer_secret = 'your_consumer_secret'
      access_token = 'your_access_token'
      access_token_secret = 'your_access_token_secret'
      
      # Set up the tweepy API authentication
      auth = tweepy.OAuth1UserHandler(consumer_key, consumer_secret, access_token, access_token_secret)
      api = tweepy.API(auth)
      
      # Get the user's tweets
      tweets = api.user_timeline(screen_name=username, count=100)
      
      # Collect hashtags from tweets
      hashtags = []
      for tweet in tweets:
          hashtags.extend([hashtag['text'] for hashtag in tweet.entities.get('hashtags', [])])
      
      # Find the most common hashtags
      from collections import Counter
      hashtag_counts = Counter(hashtags)
      trending = [hashtag for hashtag, count in hashtag_counts.most_common(10)]
      
      return trending