Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Add this
print(g, m, n)
as the first line instep
function and you'll see the input. Check this out: https://docs.codewars.com/training/troubleshooting#print-inputThe problem is in your code, it ignores the boundaries and returns numbers outside the range
[m, n]
.This comment is hidden because it contains spoiler information about the solution
Language, values, Sample tests or Attempt tests?
there is a test case where only two numbers are comming but there is requerement for three numbers