Strategy_Method/discount_strategies.py
def perform_operation(self):
        '''
        Perform the discount calculation and returns the discounted price.
        '''
        chosen_strategy = self.discount_strategy(self.price)
        return chosen_strategy.calculate_discount()

        Perform the discount calculation and returns the discounted price.
        
Perform the discount calculation and returns the discounted price.
Perform the discount calculation and returns the discounted price .
def perform_operation(self):
        chosen_strategy = self.discount_strategy(self.price)
        return chosen_strategy.calculate_discount()
def perform_operation ( self ) : chosen_strategy = self . discount_strategy ( self . price ) return chosen_strategy . calculate_discount ( )
Perform the discount calculation and returns the discounted price.
Perform the discount calculation and returns the discounted price .
'''
        Perform the discount calculation and returns the discounted price.
        '''
self