human
What is a code to loss when two items are sold at same price and same percentage profit / loss and the other steps required given the following:
Loss when two items are sold at same price and same percentage profit / loss | Function that will find loss.
Driver Code.
Calling Function"
How can the above be solved in Python?
assistant
#Here is code to loss when two items are sold at same price and same percentage profit / loss and the other steps required.
 def Loss ( SP , P ) :
	loss = 0
	loss = ( ( 2 * P * P * SP ) / ( 100 * 100 - P * P ) )
	print ( " Loss ▁ = " , round ( loss , 3 ) )
if __name__ == " _ _ main _ _ " :
	SP , P = 2400 , 30
	Loss ( SP , P )