Closed florisvanlaarhoven closed 4 years ago
Hi,
In the following code, why do we use index 0 after the price in the print-command?
price = optimize.fsolve(lambda x: excess_demand(x,valuations,number_of_goods), 120) print("{0: .2f}".format(price[0]))
Thank you
Hi,
In the following code, why do we use index 0 after the price in the print-command?
price = optimize.fsolve(lambda x: excess_demand(x,valuations,number_of_goods), 120) print("{0: .2f}".format(price[0]))
Thank you