code: def live_scores(self, live_scores):
          
          headers = ['League', 'Home Team Name', 'Home Team Goals',
                     'Away Team Goals', 'Away Team Name']
          result = [headers]
          result.extend([game['league'], game['homeTeamName'],
                         game['goalsHomeTeam'], game['goalsAwayTeam'],
                         game['awayTeamName']] for game in live_scores['games'])
          self.generate_output(result)
docs: Store output of live scores to a CSV file