<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __html_rep(self, game_key, rep_code):
 """Retrieves the nhl html reports for the specified game and report code"""

        seas, gt, num = game_key.to_tuple()
        url = [ self.__domain, "scores/htmlreports/", str(seas-1), str(seas),
                "/", rep_code, "0", str(gt), ("%04i" % (num)), ".HTM" ]
        url = ''.join(url)

        return self.__open(url)