human
Count of Prime digits in a Number | Function to find the count of prime digits in a number.
Loop to compute all the digits of the number.
Finding every digit of the given number.
Checking if digit is prime or not Only 2 , 3 , 5 and 7 are prime one - digit number.
Driver code"
How can the above be solved in Python?

=====
Write me a code to count of Prime digits in a Number and the other steps required?
assistant
#Here is code to count of Prime digits in a Number and the other steps required.
 def countDigit ( n ) :
	temp = n
	count = 0
	while ( temp != 0 ) :
		d = temp % 10
		temp //= 10
		if ( d == 2 or d == 3 or d == 5 or d == 7 ) :
			count += 1
	return count
if __name__ == ' _ _ main _ _ ' :
	n = 1234567890
	print ( countDigit ( n ) )