Computing total loss in assignment

Hello @Fatemeh-Esmaeili,

This thread may be helpful to your situation.

Cheers,
Raymond