• I think there is a bug

Question related to mission Stock Profit

 

Hey,

I cannot pass this one because I fail the this test: assert stock_profit([60, 50, 51, 52, 40]) == 2

I think this test is incorrect and the result of it should be 0.

There is one very similar that passes with no problem: assert stock_profit([22, 10, 4, 4, 1]) == 0

Regards

10