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.
I thought it would be an issue if codewars did something the language's native environment did not do, which is why I flagged it. Restating the solution I posted 5 months ago and not addressing the difference I pointed out between the environments makes it seem like we are discussing different things. I am not asking for assistance with a solution, I am pointing out that codewars added a leading space to an unitilized variable where powershell ise did not.
That is explained in my response from 5 months ago, and the issue is the space is added in codewars but not in powershell ise as shown in the image in the same response?
Do these replies actually notify anyone?
Not sure what your code is, but Xormias is saying that the kata requires you to build a return statement within the function as opposed to printing out the result to the terminal. Additionally many challenges may actually fail if you leave print statements in them due to the way they are built to be checked.
This comment is hidden because it contains spoiler information about the solution
Are issues only kata specific? I guess this is more towards codewars in general? If the the in-browser ide acts differently compared to a desktop ide...like adding spaces to a return value that was not added when compiled in vscode, what would that be classified as?
I appreciate the response, but just to be clear...youre saying do not use the "/" in repition? Or Dont use the "/" to divide?
This comment is hidden because it contains spoiler information about the solution
I am having a slight issue, I am using powershell and I have a working function but when I test it in the browser it is adding a leading space. The space doesnt appear when I test it outside the browser, and I verified by checking the length of the return string, I also tried adding trims in a few different places just to force it but it isnt catching it.