This comment is hidden because it contains spoiler information about the solution
I've already tested it, and it doesn't return ['*'] for 1. Use Pythontutor to see what your code does, step by step. It doesn't enter in any of your loops and it returns an empty array.
['*']
No, but your code returns an empty array with that input and you can see that here: https://pythontutor.com/visualize.html#mode=edit
In that error message, your code is wrongly returning [] when it should be returning ['*']
[]
No, there isn't.
JavaScript Completions 28327
Not a kata issue, the problem is in your code.
in what language?
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
I've already tested it, and it doesn't return
['*']
for 1. Use Pythontutor to see what your code does, step by step. It doesn't enter in any of your loops and it returns an empty array.No, but your code returns an empty array with that input and you can see that here: https://pythontutor.com/visualize.html#mode=edit
In that error message, your code is wrongly returning
[]
when it should be returning['*']
No, there isn't.
Not a kata issue, the problem is in your code.
in what language?