human
Tidy Number ( Digits in non | Returns true if num is Tidy.
To store previous digit ( Assigning initial value which is more than any digit ).
Traverse all digits from right to left and check if any digit is smaller than previous ..
Driver code"
Solution in Python:

=====
Write me a code to tidy Number ( Digits in non and the other steps required?
assistant
#Here is code to tidy Number ( Digits in non and the other steps required.
 def isTidy ( num ) :
	prev = 10
	while ( num ) :
		rem = num % 10
		num /= 10
		if rem > prev :
			return False
		prev = rem
	return True
num = 1556
if isTidy ( num ) :
	print ( " Yes " )
else :
	print ( " No " )