<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def show_details(self):
 """ extended print details of happiness parameters """

        res = str(self)
        res += '\nDETAILS\n'
        for f in self.factors:
            res += str(f)

        return res