Profit Maximization Python Code, I was hoping to find the optimal buy price and sell price to maximize earnings (revenue - costs).