human
Place Value of a given digit in a number | Function to find place value.
Digit , which we want to find place value ..
Number from where we want to find place value ."
Solution in Python:

Write me a code to place Value of a given digit in a number and the other steps required?
assistant
#Here is code to place Value of a given digit in a number and the other steps required.
 def placeValue ( N , num ) :
	total = 1
	value = 0
	rem = 0
	while ( True ) :
		rem = N % 10
		N = N // 10
		if ( rem == num ) :
			value = total * rem
			break
		total = total * 10
	return value
D = 5
N = 85932
print ( placeValue ( N , D ) )