i fail in 2 tesgt cases
Sir please cheack the code for chewbacca and numer code of mine
u have skipped the condition when the first digit is 9
in that case it will not be converted to 9-digit
eg 98543
answer will be 91443
also u need to deal with -ve number input
eg -231