def fill_in_missed_games(game_being_processed, cur_pfr_game, stat_per_game):
    """
    Function that fills a list with 0s for missing games

    :param game_being_processed: Game (by week) we are processing
    :param cur_pfr_game: Game (by week) we are on for the player
    :param stat_per_game: List containing a stat's value for each game
    :return: Updated list with missing games filled in
    """
    games_missed = cur_pfr_game - game_being_processed
    for i in range(games_missed):
        stat_per_game.append("0")

    return stat_per_game