new_contents: import tweepy
  from time import sleep
  from credentials import *
  
  auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
  auth.set_access_token(access_token, access_token_secret)
  api = tweepy.API(auth)
  
  for tweet in tweepy.Cursor(api.search, q='#Romford','#Chelmsford','Roofing').items():
      try:
          print('\nTweet by: @' + tweet.user.screen_name)
  
          tweet.retweet()
          print('Retweeted the tweet')
  
          # Favorite the tweet
          tweet.favorite()
          print('Favorited the tweet')
  
      if not tweet.user.following:
          # Don't forget to indent
          tweet.user.follow()
          print('Followed the user')
         
          
  
          sleep(3600)
  
      except tweepy.TweepError as e:
          print(e.reason)
  
      except StopIteration:
          break
  
subject: Create twitter_retweet.py