@property<EOL><INDENT>def solution(self):<DEDENT>
num = self.num<EOL>solution_file = os.path.join(EULER_DATA, '<STR_LIT>')<EOL>solution_line = linecache.getline(solution_file, num)<EOL>try:<EOL><INDENT>answer = solution_line.split('<STR_LIT>')[<NUM_LIT:1>].strip()<EOL><DEDENT>except IndexError:<EOL><INDENT>answer = None<EOL><DEDENT>if answer:<EOL><INDENT>return answer<EOL><DEDENT>else:<EOL><INDENT>msg = '<STR_LIT>' % num<EOL>click.secho(msg, fg='<STR_LIT>')<EOL>click.echo('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
Returns the answer to a given problem