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.
the desc isn't asking you to return the number, rather if it is a square number or not
You need to
return
the result, notprint
it.bro return true, not the integer itself, in one case ur returning an integer and in the other case ur returning a boolean
"work properly" and "not working" are pretty vague, read this: https://docs.codewars.com/training/troubleshooting/
That's a problem with your code, not a kata issue. Print the input and mark your post as having spoiler content next time. Read this: https://docs.codewars.com/training/troubleshooting
Please mark your post as having spoiler content next time. Read this: https://docs.codewars.com/training/troubleshooting/
The logic of your code is wrong. Work through it again, speaking it out loud.