human
Convert to number with digits as 3 and 8 only | function for minimum operation.
remainder and operations count.
count digits not equal to 3 or 8.
Driver code"
Solution in Python:

=====
Write me a code to convert to number with digits as 3 and 8 only and the other steps required?
assistant
#Here is code to convert to number with digits as 3 and 8 only and the other steps required.
 def minOp ( num ) :
	count = 0
	while ( num ) :
		rem = num % 10
		if ( not ( rem == 3 or rem == 8 ) ) :
			count = count + 1
		num = num // 10
	return count
num = 234198
print ( " Minimum ▁ Operations ▁ = " , minOp ( num ) )