Tam olarak ne dediğiniz anlamasam da bir şey denedim. Umarım aradığınız cevap budur.
buyouts = [16.3, 22.6, 30.58, 16.2] # Alış fiyatları listesi
offers = [55.4, 69.58, 22.3, 99.9] # Satış fiyatları listesi
def profit_max(buys, offs):
max_profit = 0 # Maksimum kârın tutulacağı...