Chewbacca and Number problem

I’m failing one test case, please explain what is the error in the code

hi @anikapassi17_6ce74879d4a8438b check this test case
999
expected - 900
yours output - 9