human
Find the concentration of a solution using given Mass and Volume | Function to calculate concentration from the given mass of solute and volume of a solution.
Driver code"
How can the above be solved in Python?

=====
Write me a code to find the concentration of a solution using given Mass and Volume and the other steps required?
assistant
#Here is code to find the concentration of a solution using given Mass and Volume and the other steps required.
 def get_concentration ( mass , volume ) :
	if ( volume == 0 ) :
		return - 1 ;
	else :
		return ( mass / volume ) * 1000 ;
mass = 100.00 ;
volume = 500.00 ;
print ( get_concentration ( mass , volume ) )