summaryrefslogtreecommitdiff
path: root/progs/a815.py
blob: 1c6dbb1c68434cc82039d0afe36735c05c888b7d (plain)
1
2
3
4
5
6
def loss_amount(actual_cost,sale_amount): 
  if(sale_amount > actual_cost):
    amount = sale_amount - actual_cost
    return amount
  else:
    return None