{mentor edit: code removed}
Please do not post your code on the forum. That’s not allowed by the Code of Conduct.
Tips: In optimize(), be sure you apply the learning rate to both dw and db.
I apologize.
No problem.