W2_A2_Cost calculation passes Ex-5, but fails Ex-8

Maybe checking this or this helps. Let us know if it doesn’t.