Skip to content

Conversation

@shubham1710
Copy link

Changed the n>=0 to n>=-9 because if the input is say, -6 then according to n>=0 it will print 0 which will be wrong and it should be -6 so the condition should be n>=-9.

I submitted my answer and passed every test case with n>=-9.

Changed the n>=0 to n>=-9 because if the input is say, -6 then according to n>=0 it will print 0 which will be wrong and it should be -6 so the condition should be n>=-9.

I submitted my answer and passed every test case with n>=-9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant