Armstrong code is not accepted by online judge

i don’t know what is wrong with my code. please rectify my mistake and let me know

@Anku47 you need to take input of number from user and check it, but you have hardcoded it for 371

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.