Working fine in VS-code but not here?

The code is working fine in my VS-code, but when I am submitting it here it’s not passing any Test-case. Help me regarding this problem as I am confused and it stopping my progress rate. At least revert back with some message so I know I’m getting a reply back for my doubts.