<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_price(self):
 """ Return the price from the conditions parameters. :return: Int """

        for cond in self.conditions:
            for p in cond.parameters:
                if p.name == '_amount':
                    return p.value