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