def price(self, minimum: float = 10.00,
              maximum: float = 1000.00) -> str:
        """Generate a random price.

        :param minimum: Max value of price.
        :param maximum: Min value of price.
        :return: Price.
        """
        price = self.random.uniform(minimum, maximum, precision=2)
        return '{0} {1}'.format(price, self.currency_symbol())
def price ( self , minimum : float = 10.00 , maximum : float = 1000.00 ) -> str : price = self . random . uniform ( minimum , maximum , precision = 2 ) return '{0} {1}' . format ( price , self . currency_symbol ( ) )
Generate a random price.

        :param minimum: Max value of price.
        :param maximum: Min value of price.
        :return: Price.