code: def get_klout_score(tweet):
      
      try:
          if is_original_format(tweet):
              score = tweet['user']['derived']['klout']['score']
          else:
              score = tweet['gnip']['klout_score']
          return score
      except KeyError:
          return None
docs: Warning: Klout is deprecated and is being removed from Tweet payloads May 2018. \n
      See https://developer.twitter.com/en/docs/tweets/enrichments/overview/klout \n
  
      Get the Klout score (int) (if it exists) of the user who posted the Tweet
  
      Args:
          tweet (Tweet): A Tweet object (or a dictionary)
  
      Returns:
          int: the Klout score (if it exists) of the user who posted the Tweet
              else return None
  
      Example:
          >>> from tweet_parser.getter_methods.tweet_user import get_klout_score
          >>> original_format_dict = {
          ...             "created_at": "Wed May 24 20:17:19 +0000 2017",
          ...             "user":
          ...              {"derived": {"klout": {"score": 12345}}}
          ...            }
          >>> get_klout_score(original_format_dict)
          12345
  
          >>> activity_streams_format_dict = {
          ...             "postedTime": "2017-05-24T20:17:19.000Z",
          ...             "gnip":{"klout_score": 12345}}
          >>> get_klout_score(activity_streams_format_dict)
          12345