Light Mode
Dark Mode
Stock Profit Assert Incorrect

I believe that one of the asserts in the stock profits check solutions is incorrect: assert stock_profit([60, 50, 51, 52, 40]) == 2

If I understand the rules correctly it should be 12 as 52-40 == 12

  • bug
Created: June 14, 2025, 8:19 a.m.
Updated: June 17, 2025, 11:51 a.m.
0
8
User avatar
M0rph1x