human
Write a function to check whether the given amount has no profit and no loss Here is a solution in Python: ... What is a the Python code you requested?
assistant
#Here is the Python code you requested.
 def noprofit_noloss(actual_cost,sale_amount): 
  if(sale_amount == actual_cost):
    return True
  else:
    return False